0s autopkgtest [11:14:40]: starting date and time: 2026-02-07 11:14:40+0000 0s autopkgtest [11:14:40]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [11:14:40]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.e01_3mr_/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pkgconf --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-ppc64el-2.secgroup --name adt-resolute-ppc64el-glib2.0-20260207-111440-juju-7f2275-prod-proposed-migration-environment-2-4870f492-f651-482f-97ed-043fddeeb5d7 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-glib2.0-20260207-111440-juju-7f2275-prod-proposed-migration-environment-2-4870f492-f651-482f-97ed-043fddeeb5d7 from image adt/ubuntu-resolute-ppc64el-server-20260207.img (UUID 1767429f-3c45-4a46-b104-1747753d8dc7)... 55s autopkgtest [11:15:35]: testbed dpkg architecture: ppc64el 55s autopkgtest [11:15:35]: testbed apt version: 3.1.15 55s autopkgtest [11:15:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 56s autopkgtest [11:15:36]: testbed release detected to be: None 56s autopkgtest [11:15:36]: updating testbed package index (apt update) 57s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 57s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 57s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1608 kB] 57s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [196 kB] 57s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB] 57s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.1 kB] 57s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [236 kB] 57s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1459 kB] 57s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.5 kB] 57s Fetched 3691 kB in 1s (4259 kB/s) 58s Reading package lists... 59s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 59s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 59s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 59s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 60s Reading package lists... 60s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s Calculating upgrade... 60s The following packages will be upgraded: 60s 3cpio libevent-core-2.1-7t64 libpcap0.8t64 60s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s Need to get 598 kB of archives. 60s After this operation, 0 B of additional disk space will be used. 60s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcap0.8t64 ppc64el 1.10.5-2ubuntu3 [181 kB] 60s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el 3cpio ppc64el 0.14.0-1ubuntu1 [308 kB] 60s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libevent-core-2.1-7t64 ppc64el 2.1.12-stable-10build2 [109 kB] 61s dpkg-preconfigure: unable to re-open stdin: No such file or directory 61s Fetched 598 kB in 0s (10.5 MB/s) 61s (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 ... 82008 files and directories currently installed.) 61s Preparing to unpack .../libpcap0.8t64_1.10.5-2ubuntu3_ppc64el.deb ... 61s Unpacking libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 61s Preparing to unpack .../3cpio_0.14.0-1ubuntu1_ppc64el.deb ... 61s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 62s Preparing to unpack .../libevent-core-2.1-7t64_2.1.12-stable-10build2_ppc64el.deb ... 62s Unpacking libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 62s Setting up 3cpio (0.14.0-1ubuntu1) ... 62s Setting up libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) ... 62s Setting up libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) ... 62s Processing triggers for man-db (2.13.1-1) ... 63s Processing triggers for libc-bin (2.42-2ubuntu4) ... 63s autopkgtest [11:15:43]: upgrading testbed (apt dist-upgrade and autopurge) 63s Reading package lists... 63s Building dependency tree... 63s Reading state information... 64s Calculating upgrade... 64s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s Reading package lists... 64s Building dependency tree... 64s Reading state information... 64s Solving dependencies... 64s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s autopkgtest [11:15:47]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:45:54 UTC 2026 67s autopkgtest [11:15:47]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 76s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B] 76s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB] 76s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB] 76s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB] 76s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC 76s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 76s gpgv: Can't check signature: No public key 76s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found 77s autopkgtest [11:15:57]: testing package glib2.0 version 2.86.3-4 81s autopkgtest [11:16:01]: build not needed 92s autopkgtest [11:16:12]: test build: preparing testbed 92s Reading package lists... 92s Building dependency tree... 92s Reading state information... 92s Solving dependencies... 93s The following NEW packages will be installed: 93s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 93s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 93s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 93s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libc-dev-bin libc6-dev 93s libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 93s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 93s libpcre2-dev libpcre2-posix3 libpkgconf7 libquadmath0 libselinux-dev 93s libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 93s linux-libc-dev pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 93s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 93s Need to get 71.7 MB of archives. 93s After this operation, 268 MB of additional disk space will be used. 93s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc-dev-bin ppc64el 2.42-2ubuntu4 [23.9 kB] 93s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el linux-libc-dev ppc64el 6.18.0-9.9 [1847 kB] 93s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 93s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el rpcsvc-proto ppc64el 1.4.3-1build1 [84.2 kB] 93s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc6-dev ppc64el 2.42-2ubuntu4 [2080 kB] 93s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 93s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 93s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [11.4 MB] 93s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-12ubuntu1 [1038 B] 93s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 93s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 93s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-12ubuntu1 [49.0 kB] 93s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-12ubuntu1 [169 kB] 93s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-12ubuntu1 [32.2 kB] 93s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-12ubuntu1 [3006 kB] 93s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-12ubuntu1 [1374 kB] 93s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-12ubuntu1 [2729 kB] 93s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-12ubuntu1 [1231 kB] 93s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-12ubuntu1 [160 kB] 93s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-12ubuntu1 [1670 kB] 93s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [22.4 MB] 94s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-12ubuntu1 [530 kB] 94s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 94s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 94s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-12ubuntu1 [2747 kB] 94s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [13.0 MB] 94s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-12ubuntu1 [25.3 kB] 94s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 94s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 94s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 94s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 94s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 94s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 94s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 94s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 94s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 94s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 94s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 94s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 94s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 94s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 94s Get:42 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpkgconf7 ppc64el 2.5.1-2 [48.2 kB] 94s Get:43 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el pkgconf-bin ppc64el 2.5.1-2 [24.4 kB] 94s Get:44 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el pkgconf ppc64el 2.5.1-2 [20.0 kB] 94s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 94s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.3-4 [2206 kB] 94s Fetched 71.7 MB in 2s (47.3 MB/s) 94s Selecting previously unselected package libc-dev-bin. 94s (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 ... 82008 files and directories currently installed.) 94s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_ppc64el.deb ... 94s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 94s Selecting previously unselected package linux-libc-dev:ppc64el. 94s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_ppc64el.deb ... 94s Unpacking linux-libc-dev:ppc64el (6.18.0-9.9) ... 95s Selecting previously unselected package libcrypt-dev:ppc64el. 95s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 95s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) ... 95s Selecting previously unselected package rpcsvc-proto. 95s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_ppc64el.deb ... 95s Unpacking rpcsvc-proto (1.4.3-1build1) ... 95s Selecting previously unselected package libc6-dev:ppc64el. 95s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_ppc64el.deb ... 95s Unpacking libc6-dev:ppc64el (2.42-2ubuntu4) ... 95s Selecting previously unselected package libisl23:ppc64el. 95s Preparing to unpack .../05-libisl23_0.27-1build1_ppc64el.deb ... 95s Unpacking libisl23:ppc64el (0.27-1build1) ... 95s Selecting previously unselected package libmpc3:ppc64el. 95s Preparing to unpack .../06-libmpc3_1.3.1-2_ppc64el.deb ... 95s Unpacking libmpc3:ppc64el (1.3.1-2) ... 95s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 95s Preparing to unpack .../07-cpp-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package cpp-15. 95s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 95s Preparing to unpack .../09-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 95s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 95s Selecting previously unselected package cpp. 95s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 95s Unpacking cpp (4:15.2.0-4ubuntu1) ... 95s Selecting previously unselected package libcc1-0:ppc64el. 95s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package libgomp1:ppc64el. 95s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libgomp1:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package libitm1:ppc64el. 95s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libitm1:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package libasan8:ppc64el. 95s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libasan8:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package liblsan0:ppc64el. 95s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking liblsan0:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package libtsan2:ppc64el. 95s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libtsan2:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package libubsan1:ppc64el. 95s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libubsan1:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package libquadmath0:ppc64el. 95s Preparing to unpack .../18-libquadmath0_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package libgcc-15-dev:ppc64el. 95s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 95s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 95s Preparing to unpack .../20-gcc-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 95s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 96s Selecting previously unselected package gcc-15. 96s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_ppc64el.deb ... 96s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 96s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 96s Preparing to unpack .../22-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 96s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 96s Selecting previously unselected package gcc. 96s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 96s Unpacking gcc (4:15.2.0-4ubuntu1) ... 96s Selecting previously unselected package libstdc++-15-dev:ppc64el. 96s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 96s Unpacking libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 96s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 96s Preparing to unpack .../25-g++-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 96s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 96s Selecting previously unselected package g++-15. 96s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_ppc64el.deb ... 96s Unpacking g++-15 (15.2.0-12ubuntu1) ... 96s Selecting previously unselected package g++-powerpc64le-linux-gnu. 96s Preparing to unpack .../27-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 96s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 96s Selecting previously unselected package g++. 96s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 96s Unpacking g++ (4:15.2.0-4ubuntu1) ... 96s Selecting previously unselected package build-essential. 96s Preparing to unpack .../29-build-essential_12.12ubuntu2_ppc64el.deb ... 96s Unpacking build-essential (12.12ubuntu2) ... 96s Selecting previously unselected package libffi-dev:ppc64el. 96s Preparing to unpack .../30-libffi-dev_3.5.2-3_ppc64el.deb ... 96s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 96s Selecting previously unselected package uuid-dev:ppc64el. 96s Preparing to unpack .../31-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 96s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 96s Selecting previously unselected package libblkid-dev:ppc64el. 96s Preparing to unpack .../32-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 96s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 96s Selecting previously unselected package libsepol-dev:ppc64el. 96s Preparing to unpack .../33-libsepol-dev_3.9-2_ppc64el.deb ... 96s Unpacking libsepol-dev:ppc64el (3.9-2) ... 96s Selecting previously unselected package libpcre2-16-0:ppc64el. 96s Preparing to unpack .../34-libpcre2-16-0_10.46-1_ppc64el.deb ... 96s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 96s Selecting previously unselected package libpcre2-32-0:ppc64el. 96s Preparing to unpack .../35-libpcre2-32-0_10.46-1_ppc64el.deb ... 96s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 96s Selecting previously unselected package libpcre2-posix3:ppc64el. 96s Preparing to unpack .../36-libpcre2-posix3_10.46-1_ppc64el.deb ... 96s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 96s Selecting previously unselected package libpcre2-dev:ppc64el. 96s Preparing to unpack .../37-libpcre2-dev_10.46-1_ppc64el.deb ... 96s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 96s Selecting previously unselected package libselinux-dev:ppc64el. 96s Preparing to unpack .../38-libselinux-dev_3.9-4_ppc64el.deb ... 96s Unpacking libselinux-dev:ppc64el (3.9-4) ... 96s Selecting previously unselected package libmount-dev:ppc64el. 96s Preparing to unpack .../39-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 96s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 96s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 96s Preparing to unpack .../40-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 96s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 96s Selecting previously unselected package libpkgconf7:ppc64el. 96s Preparing to unpack .../41-libpkgconf7_2.5.1-2_ppc64el.deb ... 96s Unpacking libpkgconf7:ppc64el (2.5.1-2) ... 96s Selecting previously unselected package pkgconf-bin. 96s Preparing to unpack .../42-pkgconf-bin_2.5.1-2_ppc64el.deb ... 96s Unpacking pkgconf-bin (2.5.1-2) ... 96s Selecting previously unselected package pkgconf:ppc64el. 96s Preparing to unpack .../43-pkgconf_2.5.1-2_ppc64el.deb ... 96s Unpacking pkgconf:ppc64el (2.5.1-2) ... 96s Selecting previously unselected package zlib1g-dev:ppc64el. 96s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 96s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 96s Selecting previously unselected package libgio-2.0-dev:ppc64el. 96s Preparing to unpack .../45-libgio-2.0-dev_2.86.3-4_ppc64el.deb ... 96s Unpacking libgio-2.0-dev:ppc64el (2.86.3-4) ... 97s Setting up libpkgconf7:ppc64el (2.5.1-2) ... 97s Setting up linux-libc-dev:ppc64el (6.18.0-9.9) ... 97s Setting up libgomp1:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up libffi-dev:ppc64el (3.5.2-3) ... 97s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 97s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 97s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 97s Setting up rpcsvc-proto (1.4.3-1build1) ... 97s Setting up libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up libmpc3:ppc64el (1.3.1-2) ... 97s Setting up libsepol-dev:ppc64el (3.9-2) ... 97s Setting up pkgconf-bin (2.5.1-2) ... 97s Setting up libubsan1:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 97s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 97s Setting up libasan8:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up libtsan2:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up libisl23:ppc64el (0.27-1build1) ... 97s Setting up libc-dev-bin (2.42-2ubuntu4) ... 97s Setting up libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up liblsan0:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up libitm1:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up pkgconf:ppc64el (2.5.1-2) ... 97s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 97s Setting up cpp-15 (15.2.0-12ubuntu1) ... 97s Setting up libc6-dev:ppc64el (2.42-2ubuntu4) ... 97s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 97s Setting up libpcre2-dev:ppc64el (10.46-1) ... 97s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 97s Setting up gcc-15 (15.2.0-12ubuntu1) ... 97s Setting up libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 97s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 97s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 97s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 97s Setting up cpp (4:15.2.0-4ubuntu1) ... 97s Setting up libselinux-dev:ppc64el (3.9-4) ... 97s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 97s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 97s Setting up gcc (4:15.2.0-4ubuntu1) ... 97s Setting up g++-15 (15.2.0-12ubuntu1) ... 97s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 97s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 97s Setting up libgio-2.0-dev:ppc64el (2.86.3-4) ... 97s Setting up g++ (4:15.2.0-4ubuntu1) ... 97s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 97s Setting up build-essential (12.12ubuntu2) ... 97s Processing triggers for libc-bin (2.42-2ubuntu4) ... 97s Processing triggers for man-db (2.13.1-1) ... 98s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 98s No schema files found: doing nothing. 98s Processing triggers for install-info (7.2-5) ... 99s autopkgtest [11:16:19]: test build: [----------------------- 99s + mode=dynamic 99s + getopt -o --long static -n debian/tests/build -- 99s + getopt_temp= -- 99s + eval set -- -- 99s + set -- -- 99s + true 99s + shift 99s + break 99s + mktemp -d 99s + WORKDIR=/tmp/tmp.9BsJKIPF3s 99s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 99s + cd /tmp/tmp.9BsJKIPF3s 99s + [ -n ] 99s + CROSS_COMPILE= 99s + cat 99s + cat 99s + cat 99s + cat 99s + cat 99s + cat 99s + cflags= 99s + pcflags= 99s + packages=glib-2.0 99s + pkg-config --cflags --libs glib-2.0 99s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 99s + echo build (glib, dynamic): OK 99s + [ -x glib-dynamic ] 99s + foo=bar ./glib-dynamic 99s + echo run (glib, dynamic): OK 99s + cflags= 99s + pcflags= 99s + packages=gobject-2.0 99s build (glib, dynamic): OK 99s run (glib, dynamic): OK 99s + pkg-config --cflags --libs gobject-2.0 99s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 99s build (gobject, dynamic): OK 99s run (gobject, dynamic): OK 99s + echo build (gobject, dynamic): OK 99s + [ -x gobject-dynamic ] 99s + foo=bar ./gobject-dynamic 99s + echo run (gobject, dynamic): OK 99s + cflags= 99s + pcflags= 99s + packages=gio-2.0 99s + pkg-config --cflags --libs gio-2.0 99s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 99s build (gio, dynamic): OK 99s + echo build (gio, dynamic): OK 99s + [ -x gio-dynamic ] 99s + foo=bar ./gio-dynamic 99s + echo run (gio, dynamic): OK 99s + cflags= 99s + pcflags= 99s + packages=gio-unix-2.0 99s + pkg-config --cflags --libs gio-unix-2.0 99s run (gio, dynamic): OK 99s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 100s build (gio-unix, dynamic): OK 100s + echo build (gio-unix, dynamic): OK 100s + [ -x gio-unix-dynamic ] 100s + foo=bar ./gio-unix-dynamic 100s + echo run (gio-unix, dynamic): OK 100s + cflags= 100s + pcflags= 100s + packages=gmodule-2.0 100s run (gio-unix, dynamic): OK 100s + pkg-config --cflags --libs gmodule-2.0 100s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 100s build (gmodule, dynamic): OK 100s + echo build (gmodule, dynamic): OK 100s + [ -x gmodule-dynamic ] 100s + foo=bar ./gmodule-dynamic 100s + echo run (gmodule, dynamic): OK 100s + cflags= 100s + pcflags= 100s + packages=gthread-2.0 100s + pkg-config --cflags --libs gthread-2.0 100s run (gmodule, dynamic): OK 100s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 100s build (gthread, dynamic): OK 100s run (gthread, dynamic): OK 100s + echo build (gthread, dynamic): OK 100s + [ -x gthread-dynamic ] 100s + foo=bar ./gthread-dynamic 100s + echo run (gthread, dynamic): OK 100s + rm -rf /tmp/tmp.9BsJKIPF3s 100s autopkgtest [11:16:20]: test build: -----------------------] 101s build PASS (superficial) 101s autopkgtest [11:16:21]: test build: - - - - - - - - - - results - - - - - - - - - - 101s autopkgtest [11:16:21]: test build-static: preparing testbed 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s Solving dependencies... 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s autopkgtest [11:16:22]: test build-static: [----------------------- 102s + mode=dynamic 102s + getopt -o --long static -n debian/tests/build -- --static 102s + getopt_temp= --static -- 102s + eval set -- --static -- 102s + set -- --static -- 102s + true 102s + mode=static 102s + shift 102s + continue 102s + true 102s + shift 102s + break 102s + mktemp -d 102s + WORKDIR=/tmp/tmp.dq4X8sJt0L 102s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 102s + cd /tmp/tmp.dq4X8sJt0L 102s + [ -n ] 102s + CROSS_COMPILE= 102s + cat 102s + cat 102s + cat 102s + cat 102s + cat 102s + cat 102s + cflags= 102s + pcflags= 102s + packages=glib-2.0 102s + cflags=-static 102s + pcflags=--static 102s + pkg-config --static --cflags --libs glib-2.0 102s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 102s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 102s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 102s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 102s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 102s build (glib, static): OK 102s run (glib, static): OK 102s + echo build (glib, static): OK 102s + [ -x glib-static ] 102s + foo=bar ./glib-static 102s + echo run (glib, static): OK 102s + cflags= 102s + pcflags= 102s + packages=gobject-2.0 102s + cflags=-static 102s + pcflags=--static 102s + pkg-config --static --cflags --libs gobject-2.0 102s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 102s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 102s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 102s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 102s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s build (gobject, static): OK 103s + echo build (gobject, static): OK 103s + [ -x gobject-static ] 103s + foo=bar ./gobject-static 103s run (gobject, static): OK 103s + echo run (gobject, static): OK 103s + cflags= 103s + pcflags= 103s + packages=gio-2.0 103s + cflags=-static 103s + pcflags=--static 103s + continue 103s + cflags= 103s + pcflags= 103s + packages=gio-unix-2.0 103s + cflags=-static 103s + pcflags=--static 103s + continue 103s + cflags= 103s + pcflags= 103s + packages=gmodule-2.0 103s + cflags=-static 103s + pcflags=--static 103s + pkg-config --static --cflags --libs gmodule-2.0 103s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 103s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 103s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 103s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s build (gmodule, static): OK 103s + echo build (gmodule, static): OK 103s + [ -x gmodule-static ] 103s + foo=bar ./gmodule-static 103s + echo run (gmodule, static): OK 103s + cflags= 103s + pcflags= 103s + packages=gthread-2.0 103s + cflags=-static 103s + pcflags=--static 103s + pkg-config --static --cflags --libs gthread-2.0 103s run (gmodule, static): OK 103s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 103s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 103s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s build (gthread, static): OK 103s run (gthread, static): OK 103s + echo build (gthread, static): OK 103s + [ -x gthread-static ] 103s + foo=bar ./gthread-static 103s + echo run (gthread, static): OK 103s + rm -rf /tmp/tmp.dq4X8sJt0L 103s autopkgtest [11:16:23]: test build-static: -----------------------] 104s autopkgtest [11:16:24]: test build-static: - - - - - - - - - - results - - - - - - - - - - 104s build-static PASS (superficial) 104s autopkgtest [11:16:24]: test girepository-tools: preparing testbed 122s Creating nova instance adt-resolute-ppc64el-glib2.0-20260207-111440-juju-7f2275-prod-proposed-migration-environment-2-4870f492-f651-482f-97ed-043fddeeb5d7 from image adt/ubuntu-resolute-ppc64el-server-20260207.img (UUID 1767429f-3c45-4a46-b104-1747753d8dc7)... 167s autopkgtest [11:17:27]: testbed dpkg architecture: ppc64el 167s autopkgtest [11:17:27]: testbed apt version: 3.1.15 168s autopkgtest [11:17:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 168s autopkgtest [11:17:28]: testbed release detected to be: resolute 169s autopkgtest [11:17:29]: updating testbed package index (apt update) 169s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 169s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 169s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 169s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 169s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.1 kB] 169s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1608 kB] 169s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [196 kB] 169s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB] 169s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [236 kB] 169s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1459 kB] 169s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.5 kB] 170s Fetched 3691 kB in 1s (4269 kB/s) 170s Reading package lists... 171s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 171s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 171s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 171s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 172s Reading package lists... 172s Reading package lists... 172s Building dependency tree... 172s Reading state information... 172s Calculating upgrade... 172s The following packages will be upgraded: 172s 3cpio libevent-core-2.1-7t64 libpcap0.8t64 172s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 172s Need to get 598 kB of archives. 172s After this operation, 0 B of additional disk space will be used. 172s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcap0.8t64 ppc64el 1.10.5-2ubuntu3 [181 kB] 172s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el 3cpio ppc64el 0.14.0-1ubuntu1 [308 kB] 172s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libevent-core-2.1-7t64 ppc64el 2.1.12-stable-10build2 [109 kB] 173s dpkg-preconfigure: unable to re-open stdin: No such file or directory 173s Fetched 598 kB in 0s (31.1 MB/s) 173s (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 ... 82008 files and directories currently installed.) 173s Preparing to unpack .../libpcap0.8t64_1.10.5-2ubuntu3_ppc64el.deb ... 173s Unpacking libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 173s Preparing to unpack .../3cpio_0.14.0-1ubuntu1_ppc64el.deb ... 173s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 174s Preparing to unpack .../libevent-core-2.1-7t64_2.1.12-stable-10build2_ppc64el.deb ... 174s Unpacking libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 174s Setting up 3cpio (0.14.0-1ubuntu1) ... 174s Setting up libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) ... 174s Setting up libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) ... 174s Processing triggers for man-db (2.13.1-1) ... 175s Processing triggers for libc-bin (2.42-2ubuntu4) ... 175s autopkgtest [11:17:35]: upgrading testbed (apt dist-upgrade and autopurge) 175s Reading package lists... 175s Building dependency tree... 175s Reading state information... 176s Calculating upgrade... 176s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 176s Reading package lists... 176s Building dependency tree... 176s Reading state information... 176s Solving dependencies... 176s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 179s Reading package lists... 179s Building dependency tree... 179s Reading state information... 179s Solving dependencies... 179s The following NEW packages will be installed: 179s gir1.2-glib-2.0-dev girepository-tools native-architecture 179s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 179s Need to get 1003 kB of archives. 179s After this operation, 12.5 MB of additional disk space will be used. 179s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 181s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 181s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 181s Fetched 1003 kB in 1s (678 kB/s) 181s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 181s (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 ... 82008 files and directories currently installed.) 181s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 181s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 181s Selecting previously unselected package native-architecture. 181s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 181s Unpacking native-architecture (0.2.6build1) ... 181s Selecting previously unselected package girepository-tools:ppc64el. 181s Preparing to unpack .../girepository-tools_2.86.3-4_ppc64el.deb ... 181s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 181s Setting up native-architecture (0.2.6build1) ... 181s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 181s Setting up girepository-tools:ppc64el (2.86.3-4) ... 181s Processing triggers for man-db (2.13.1-1) ... 186s autopkgtest [11:17:46]: test girepository-tools: [----------------------- 186s + cd /tmp/autopkgtest.fHKCBC/autopkgtest_tmp 186s + dpkg-architecture -qDEB_HOST_GNU_TYPE 186s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 186s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 186s + dpkg-architecture -qDEB_HOST_MULTIARCH 186s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 186s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 186s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 186s typelib: GLib-2.0 186s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 186s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 186s autopkgtest [11:17:46]: test girepository-tools: -----------------------] 187s girepository-tools PASS (superficial) 187s autopkgtest [11:17:47]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 187s autopkgtest [11:17:47]: test libgio-2.0-dev-bin: preparing testbed 207s Creating nova instance adt-resolute-ppc64el-glib2.0-20260207-111440-juju-7f2275-prod-proposed-migration-environment-2-4870f492-f651-482f-97ed-043fddeeb5d7 from image adt/ubuntu-resolute-ppc64el-server-20260207.img (UUID 1767429f-3c45-4a46-b104-1747753d8dc7)... 259s autopkgtest [11:18:59]: testbed dpkg architecture: ppc64el 260s autopkgtest [11:19:00]: testbed apt version: 3.1.15 261s autopkgtest [11:19:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 261s autopkgtest [11:19:01]: testbed release detected to be: resolute 263s autopkgtest [11:19:03]: updating testbed package index (apt update) 263s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 263s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 263s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 263s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 263s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.1 kB] 263s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [196 kB] 263s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB] 263s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1608 kB] 263s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [236 kB] 263s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1459 kB] 263s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.5 kB] 264s Fetched 3691 kB in 1s (5016 kB/s) 265s Reading package lists... 266s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 266s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 266s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 266s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 267s Reading package lists... 267s Reading package lists... 267s Building dependency tree... 267s Reading state information... 267s Calculating upgrade... 267s The following packages will be upgraded: 267s 3cpio libevent-core-2.1-7t64 libpcap0.8t64 267s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 267s Need to get 598 kB of archives. 267s After this operation, 0 B of additional disk space will be used. 267s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcap0.8t64 ppc64el 1.10.5-2ubuntu3 [181 kB] 267s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el 3cpio ppc64el 0.14.0-1ubuntu1 [308 kB] 267s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libevent-core-2.1-7t64 ppc64el 2.1.12-stable-10build2 [109 kB] 267s dpkg-preconfigure: unable to re-open stdin: No such file or directory 267s Fetched 598 kB in 0s (18.0 MB/s) 268s (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 ... 82008 files and directories currently installed.) 268s Preparing to unpack .../libpcap0.8t64_1.10.5-2ubuntu3_ppc64el.deb ... 268s Unpacking libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 268s Preparing to unpack .../3cpio_0.14.0-1ubuntu1_ppc64el.deb ... 268s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 268s Preparing to unpack .../libevent-core-2.1-7t64_2.1.12-stable-10build2_ppc64el.deb ... 268s Unpacking libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 268s Setting up 3cpio (0.14.0-1ubuntu1) ... 268s Setting up libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) ... 268s Setting up libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) ... 269s Processing triggers for man-db (2.13.1-1) ... 270s Processing triggers for libc-bin (2.42-2ubuntu4) ... 270s autopkgtest [11:19:10]: upgrading testbed (apt dist-upgrade and autopurge) 270s Reading package lists... 270s Building dependency tree... 270s Reading state information... 270s Calculating upgrade... 271s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 271s Reading package lists... 271s Building dependency tree... 271s Reading state information... 271s Solving dependencies... 271s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 277s Reading package lists... 278s Building dependency tree... 278s Reading state information... 278s Solving dependencies... 278s The following NEW packages will be installed: 278s libgio-2.0-dev-bin 278s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 278s Need to get 131 kB of archives. 278s After this operation, 822 kB of additional disk space will be used. 278s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 278s Fetched 131 kB in 0s (5149 kB/s) 278s Selecting previously unselected package libgio-2.0-dev-bin. 278s (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 ... 82008 files and directories currently installed.) 278s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 278s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 278s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 278s Processing triggers for man-db (2.13.1-1) ... 288s autopkgtest [11:19:28]: test libgio-2.0-dev-bin: [----------------------- 289s + gdbus-codegen --help 289s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 289s [--c-namespace NAMESPACE] [--c-generate-object-manager] 289s [--c-generate-autocleanup {none,objects,all}] 289s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 289s [--generate-rst OUTFILES] [--pragma-once] 289s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 289s [--glib-min-required VERSION] 289s [--glib-max-allowed VERSION] 289s [--symbol-decorator SYMBOL_DECORATOR] 289s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 289s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 289s [--generate-c-code OUTFILES | --header | --body | 289s --interface-info-header | --interface-info-body] 289s [--output FILE | --output-directory OUTDIR] 289s FILE [FILE ...] 289s 289s D-Bus code and documentation generator 289s 289s positional arguments: 289s FILE D-Bus introspection XML file 289s 289s options: 289s -h, --help show this help message and exit 289s --interface-prefix PREFIX 289s String to strip from D-Bus interface names for code 289s and docs 289s --c-namespace NAMESPACE 289s The namespace to use for generated C code 289s --c-generate-object-manager 289s Generate a GDBusObjectManagerClient subclass when 289s generating C code 289s --c-generate-autocleanup {none,objects,all} 289s Generate autocleanup support 289s --generate-docbook OUTFILES 289s Generate Docbook in OUTFILES-org.Project.IFace.xml 289s --generate-md OUTFILES 289s Generate Markdown in OUTFILES-org.Project.IFace.md 289s --generate-rst OUTFILES 289s Generate reStructuredText in OUTFILES- 289s org.Project.IFace.rst 289s --pragma-once Use "pragma once" as the inclusion guard 289s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 289s Add annotation (may be used several times) 289s --glib-min-required VERSION 289s Minimum version of GLib to be supported by the 289s outputted code (default: 2.30) 289s --glib-max-allowed VERSION 289s Maximum version of GLib to be used by the outputted 289s code (default: current GLib version) 289s --symbol-decorator SYMBOL_DECORATOR 289s Macro used to decorate a symbol in the outputted 289s header, possibly to export symbols 289s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 289s Additional header required for decorator specified by 289s --symbol-decorator 289s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 289s Additional define required for decorator specified by 289s --symbol-decorator 289s --generate-c-code OUTFILES 289s Generate C code in OUTFILES.[ch] 289s --header Generate C headers 289s --body Generate C code 289s --interface-info-header 289s Generate GDBusInterfaceInfo C header 289s --interface-info-body 289s Generate GDBusInterfaceInfo C code 289s --output FILE Write output into the specified file 289s --output-directory OUTDIR 289s Location to output generated files 289s + glib-compile-resources --version 289s + glib-genmarshal --version 289s 2.86.3 289s glib-genmarshal version 2.86.3 289s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 289s You may redistribute copies of glib-genmarshal under the terms of 289s the GNU General Public License which can be found in the 289s GLib source package. Sources, examples and contact 289s information are available at http://www.gtk.org 289s + glib-gettextize --version 289s /usr/bin/glib-gettextize (GNU glib) 2.86.3 289s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 289s This is free software; see the source for copying conditions. There is NO 289s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 289s Written by Ulrich Drepper 289s + glib-mkenums --version 289s glib-mkenums version 2.86.3 289s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 289s You may redistribute copies of glib-mkenums under the terms of 289s the GNU General Public License which can be found in the 289s GLib source package. Sources, examples and contact 289s information are available at http://www.gtk.org 289s + gobject-query tree 289s GObject 289s gtester version 2.86.3 289s gtester-report (GLib utils) version 2.86.3. 289s + gtester --version 289s + gtester-report --version 289s autopkgtest [11:19:29]: test libgio-2.0-dev-bin: -----------------------] 290s autopkgtest [11:19:30]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 290s libgio-2.0-dev-bin PASS (superficial) 290s autopkgtest [11:19:30]: test libglib2.0-dev: preparing testbed 298s Creating nova instance adt-resolute-ppc64el-glib2.0-20260207-111440-juju-7f2275-prod-proposed-migration-environment-2-4870f492-f651-482f-97ed-043fddeeb5d7 from image adt/ubuntu-resolute-ppc64el-server-20260207.img (UUID 1767429f-3c45-4a46-b104-1747753d8dc7)... 348s autopkgtest [11:20:28]: testbed dpkg architecture: ppc64el 348s autopkgtest [11:20:28]: testbed apt version: 3.1.15 348s autopkgtest [11:20:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 348s autopkgtest [11:20:28]: testbed release detected to be: resolute 349s autopkgtest [11:20:29]: updating testbed package index (apt update) 349s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 349s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 349s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 349s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 349s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.1 kB] 349s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [196 kB] 349s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1608 kB] 350s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB] 350s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [236 kB] 350s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1459 kB] 350s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.5 kB] 350s Fetched 3691 kB in 1s (4315 kB/s) 351s Reading package lists... 351s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 352s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 352s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 352s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 352s Reading package lists... 352s Reading package lists... 353s Building dependency tree... 353s Reading state information... 353s Calculating upgrade... 353s The following packages will be upgraded: 353s 3cpio libevent-core-2.1-7t64 libpcap0.8t64 353s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 353s Need to get 598 kB of archives. 353s After this operation, 0 B of additional disk space will be used. 353s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcap0.8t64 ppc64el 1.10.5-2ubuntu3 [181 kB] 353s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el 3cpio ppc64el 0.14.0-1ubuntu1 [308 kB] 353s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libevent-core-2.1-7t64 ppc64el 2.1.12-stable-10build2 [109 kB] 353s dpkg-preconfigure: unable to re-open stdin: No such file or directory 353s Fetched 598 kB in 0s (31.3 MB/s) 354s (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 ... 82008 files and directories currently installed.) 354s Preparing to unpack .../libpcap0.8t64_1.10.5-2ubuntu3_ppc64el.deb ... 354s Unpacking libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 354s Preparing to unpack .../3cpio_0.14.0-1ubuntu1_ppc64el.deb ... 354s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 354s Preparing to unpack .../libevent-core-2.1-7t64_2.1.12-stable-10build2_ppc64el.deb ... 354s Unpacking libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 354s Setting up 3cpio (0.14.0-1ubuntu1) ... 354s Setting up libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) ... 354s Setting up libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) ... 354s Processing triggers for man-db (2.13.1-1) ... 356s Processing triggers for libc-bin (2.42-2ubuntu4) ... 357s autopkgtest [11:20:37]: upgrading testbed (apt dist-upgrade and autopurge) 357s Reading package lists... 357s Building dependency tree... 357s Reading state information... 357s Calculating upgrade... 357s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 357s Reading package lists... 357s Building dependency tree... 357s Reading state information... 357s Solving dependencies... 358s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 360s Reading package lists... 360s Building dependency tree... 360s Reading state information... 360s Solving dependencies... 361s The following NEW packages will be installed: 361s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 361s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 361s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 361s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 361s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 361s libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin libglib2.0-bin 361s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 361s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 361s libpcre2-posix3 libpkgconf7 libquadmath0 libselinux-dev libsepol-dev 361s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev 361s native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 361s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 361s Need to get 72.9 MB of archives. 361s After this operation, 282 MB of additional disk space will be used. 361s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc-dev-bin ppc64el 2.42-2ubuntu4 [23.9 kB] 361s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el linux-libc-dev ppc64el 6.18.0-9.9 [1847 kB] 361s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 361s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el rpcsvc-proto ppc64el 1.4.3-1build1 [84.2 kB] 361s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc6-dev ppc64el 2.42-2ubuntu4 [2080 kB] 361s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 361s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 361s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [11.4 MB] 361s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-12ubuntu1 [1038 B] 361s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 361s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 361s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-12ubuntu1 [49.0 kB] 361s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-12ubuntu1 [169 kB] 361s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-12ubuntu1 [32.2 kB] 361s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-12ubuntu1 [3006 kB] 361s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-12ubuntu1 [1374 kB] 361s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-12ubuntu1 [2729 kB] 361s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-12ubuntu1 [1231 kB] 361s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-12ubuntu1 [160 kB] 361s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-12ubuntu1 [1670 kB] 361s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [22.4 MB] 362s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-12ubuntu1 [530 kB] 362s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 362s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 362s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-12ubuntu1 [2747 kB] 362s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [13.0 MB] 362s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-12ubuntu1 [25.3 kB] 362s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 362s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 362s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 362s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 362s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 362s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 362s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 362s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 362s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 362s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 362s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 362s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 362s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 362s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 362s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 362s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 362s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 362s Get:45 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpkgconf7 ppc64el 2.5.1-2 [48.2 kB] 362s Get:46 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el pkgconf-bin ppc64el 2.5.1-2 [24.4 kB] 362s Get:47 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el pkgconf ppc64el 2.5.1-2 [20.0 kB] 362s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 362s Get:49 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.3-4 [2206 kB] 362s Get:50 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 362s Get:51 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.3-4 [111 kB] 362s Get:52 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.3-4 [18.2 kB] 362s Get:53 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev ppc64el 2.86.3-4 [18.9 kB] 363s Fetched 72.9 MB in 2s (42.8 MB/s) 363s Selecting previously unselected package libc-dev-bin. 363s (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 ... 82008 files and directories currently installed.) 363s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_ppc64el.deb ... 363s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 363s Selecting previously unselected package linux-libc-dev:ppc64el. 363s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_ppc64el.deb ... 363s Unpacking linux-libc-dev:ppc64el (6.18.0-9.9) ... 363s Selecting previously unselected package libcrypt-dev:ppc64el. 363s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 363s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) ... 363s Selecting previously unselected package rpcsvc-proto. 363s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_ppc64el.deb ... 363s Unpacking rpcsvc-proto (1.4.3-1build1) ... 363s Selecting previously unselected package libc6-dev:ppc64el. 363s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_ppc64el.deb ... 363s Unpacking libc6-dev:ppc64el (2.42-2ubuntu4) ... 363s Selecting previously unselected package libisl23:ppc64el. 363s Preparing to unpack .../05-libisl23_0.27-1build1_ppc64el.deb ... 363s Unpacking libisl23:ppc64el (0.27-1build1) ... 363s Selecting previously unselected package libmpc3:ppc64el. 363s Preparing to unpack .../06-libmpc3_1.3.1-2_ppc64el.deb ... 363s Unpacking libmpc3:ppc64el (1.3.1-2) ... 363s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 363s Preparing to unpack .../07-cpp-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package cpp-15. 363s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 363s Preparing to unpack .../09-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 363s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 363s Selecting previously unselected package cpp. 363s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 363s Unpacking cpp (4:15.2.0-4ubuntu1) ... 363s Selecting previously unselected package libcc1-0:ppc64el. 363s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package libgomp1:ppc64el. 363s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libgomp1:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package libitm1:ppc64el. 363s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libitm1:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package libasan8:ppc64el. 363s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libasan8:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package liblsan0:ppc64el. 363s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking liblsan0:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package libtsan2:ppc64el. 363s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libtsan2:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package libubsan1:ppc64el. 363s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libubsan1:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package libquadmath0:ppc64el. 363s Preparing to unpack .../18-libquadmath0_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package libgcc-15-dev:ppc64el. 363s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 363s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 363s Preparing to unpack .../20-gcc-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 363s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 364s Selecting previously unselected package gcc-15. 364s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_ppc64el.deb ... 364s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 364s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 364s Preparing to unpack .../22-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 364s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 364s Selecting previously unselected package gcc. 364s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 364s Unpacking gcc (4:15.2.0-4ubuntu1) ... 364s Selecting previously unselected package libstdc++-15-dev:ppc64el. 364s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 364s Unpacking libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 364s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 364s Preparing to unpack .../25-g++-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 364s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 364s Selecting previously unselected package g++-15. 364s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_ppc64el.deb ... 364s Unpacking g++-15 (15.2.0-12ubuntu1) ... 364s Selecting previously unselected package g++-powerpc64le-linux-gnu. 364s Preparing to unpack .../27-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 364s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 364s Selecting previously unselected package g++. 364s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 364s Unpacking g++ (4:15.2.0-4ubuntu1) ... 364s Selecting previously unselected package build-essential. 364s Preparing to unpack .../29-build-essential_12.12ubuntu2_ppc64el.deb ... 364s Unpacking build-essential (12.12ubuntu2) ... 364s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 364s Preparing to unpack .../30-gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 364s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 364s Selecting previously unselected package native-architecture. 364s Preparing to unpack .../31-native-architecture_0.2.6build1_all.deb ... 364s Unpacking native-architecture (0.2.6build1) ... 364s Selecting previously unselected package girepository-tools:ppc64el. 364s Preparing to unpack .../32-girepository-tools_2.86.3-4_ppc64el.deb ... 364s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 364s Selecting previously unselected package libffi-dev:ppc64el. 364s Preparing to unpack .../33-libffi-dev_3.5.2-3_ppc64el.deb ... 364s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 364s Selecting previously unselected package uuid-dev:ppc64el. 364s Preparing to unpack .../34-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 364s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 364s Selecting previously unselected package libblkid-dev:ppc64el. 364s Preparing to unpack .../35-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 364s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 364s Selecting previously unselected package libsepol-dev:ppc64el. 364s Preparing to unpack .../36-libsepol-dev_3.9-2_ppc64el.deb ... 364s Unpacking libsepol-dev:ppc64el (3.9-2) ... 364s Selecting previously unselected package libpcre2-16-0:ppc64el. 364s Preparing to unpack .../37-libpcre2-16-0_10.46-1_ppc64el.deb ... 364s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 364s Selecting previously unselected package libpcre2-32-0:ppc64el. 364s Preparing to unpack .../38-libpcre2-32-0_10.46-1_ppc64el.deb ... 364s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 364s Selecting previously unselected package libpcre2-posix3:ppc64el. 364s Preparing to unpack .../39-libpcre2-posix3_10.46-1_ppc64el.deb ... 364s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 364s Selecting previously unselected package libpcre2-dev:ppc64el. 364s Preparing to unpack .../40-libpcre2-dev_10.46-1_ppc64el.deb ... 364s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 365s Selecting previously unselected package libselinux-dev:ppc64el. 365s Preparing to unpack .../41-libselinux-dev_3.9-4_ppc64el.deb ... 365s Unpacking libselinux-dev:ppc64el (3.9-4) ... 365s Selecting previously unselected package libmount-dev:ppc64el. 365s Preparing to unpack .../42-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 365s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 365s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 365s Preparing to unpack .../43-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 365s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 365s Selecting previously unselected package libpkgconf7:ppc64el. 365s Preparing to unpack .../44-libpkgconf7_2.5.1-2_ppc64el.deb ... 365s Unpacking libpkgconf7:ppc64el (2.5.1-2) ... 365s Selecting previously unselected package pkgconf-bin. 365s Preparing to unpack .../45-pkgconf-bin_2.5.1-2_ppc64el.deb ... 365s Unpacking pkgconf-bin (2.5.1-2) ... 365s Selecting previously unselected package pkgconf:ppc64el. 365s Preparing to unpack .../46-pkgconf_2.5.1-2_ppc64el.deb ... 365s Unpacking pkgconf:ppc64el (2.5.1-2) ... 365s Selecting previously unselected package zlib1g-dev:ppc64el. 365s Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 365s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 365s Selecting previously unselected package libgio-2.0-dev:ppc64el. 365s Preparing to unpack .../48-libgio-2.0-dev_2.86.3-4_ppc64el.deb ... 365s Unpacking libgio-2.0-dev:ppc64el (2.86.3-4) ... 365s Selecting previously unselected package libgio-2.0-dev-bin. 365s Preparing to unpack .../49-libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 365s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 365s Selecting previously unselected package libglib2.0-bin. 365s Preparing to unpack .../50-libglib2.0-bin_2.86.3-4_ppc64el.deb ... 365s Unpacking libglib2.0-bin (2.86.3-4) ... 365s Selecting previously unselected package libglib2.0-dev-bin. 365s Preparing to unpack .../51-libglib2.0-dev-bin_2.86.3-4_ppc64el.deb ... 365s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 365s Selecting previously unselected package libglib2.0-dev:ppc64el. 365s Preparing to unpack .../52-libglib2.0-dev_2.86.3-4_ppc64el.deb ... 365s Unpacking libglib2.0-dev:ppc64el (2.86.3-4) ... 365s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 365s Setting up native-architecture (0.2.6build1) ... 365s Setting up libpkgconf7:ppc64el (2.5.1-2) ... 365s Setting up linux-libc-dev:ppc64el (6.18.0-9.9) ... 365s Setting up libglib2.0-bin (2.86.3-4) ... 365s Setting up libgomp1:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up libffi-dev:ppc64el (3.5.2-3) ... 365s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 365s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 365s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 365s Setting up rpcsvc-proto (1.4.3-1build1) ... 365s Setting up libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up libmpc3:ppc64el (1.3.1-2) ... 365s Setting up libsepol-dev:ppc64el (3.9-2) ... 365s Setting up pkgconf-bin (2.5.1-2) ... 365s Setting up libubsan1:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 365s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 365s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 365s Setting up libasan8:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up libtsan2:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up libisl23:ppc64el (0.27-1build1) ... 365s Setting up libc-dev-bin (2.42-2ubuntu4) ... 365s Setting up libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up liblsan0:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up libitm1:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up girepository-tools:ppc64el (2.86.3-4) ... 365s Setting up libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up pkgconf:ppc64el (2.5.1-2) ... 365s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 365s Setting up cpp-15 (15.2.0-12ubuntu1) ... 365s Setting up libc6-dev:ppc64el (2.42-2ubuntu4) ... 365s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 365s Setting up libglib2.0-dev-bin (2.86.3-4) ... 365s Setting up libpcre2-dev:ppc64el (10.46-1) ... 365s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 365s Setting up gcc-15 (15.2.0-12ubuntu1) ... 365s Setting up libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 365s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 365s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 365s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 365s Setting up cpp (4:15.2.0-4ubuntu1) ... 365s Setting up libselinux-dev:ppc64el (3.9-4) ... 365s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 365s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 365s Setting up gcc (4:15.2.0-4ubuntu1) ... 365s Setting up g++-15 (15.2.0-12ubuntu1) ... 365s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 365s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 365s Setting up libgio-2.0-dev:ppc64el (2.86.3-4) ... 365s Setting up g++ (4:15.2.0-4ubuntu1) ... 365s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 365s Setting up build-essential (12.12ubuntu2) ... 365s Processing triggers for install-info (7.2-5) ... 366s Processing triggers for libc-bin (2.42-2ubuntu4) ... 366s Processing triggers for man-db (2.13.1-1) ... 367s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 367s No schema files found: doing nothing. 367s Setting up libglib2.0-dev:ppc64el (2.86.3-4) ... 370s autopkgtest [11:20:50]: test libglib2.0-dev: [----------------------- 370s + debian/tests/build 370s + mode=dynamic 370s + getopt -o --long static -n debian/tests/build -- 370s + getopt_temp= -- 370s + eval set -- -- 370s + set -- -- 370s + true 370s + shift 370s + break 370s + mktemp -d 370s + WORKDIR=/tmp/tmp.WcfvXM8k0C 370s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 370s + cd /tmp/tmp.WcfvXM8k0C 370s + [ -n ] 370s + CROSS_COMPILE= 370s + cat 370s + cat 370s + cat 370s + cat 370s + cat 370s + cat 370s + cflags= 370s + pcflags= 370s + packages=glib-2.0 370s + pkg-config --cflags --libs glib-2.0 370s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 370s build (glib, dynamic): OK 370s + echo build (glib, dynamic): OK 370s + [ -x glib-dynamic ] 370s + foo=bar ./glib-dynamic 370s + echo run (glib, dynamic): OK 370s + cflags= 370s + pcflags= 370s + packages=gobject-2.0 370s run (glib, dynamic): OK 370s + pkg-config --cflags --libs gobject-2.0 370s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 370s build (gobject, dynamic): OK 370s + echo build (gobject, dynamic): OK 370s + [ -x gobject-dynamic ] 370s + foo=bar ./gobject-dynamic 370s + echo run (gobject, dynamic): OK 370s + cflags= 370s + pcflags= 370s + packages=gio-2.0 370s run (gobject, dynamic): OK 370s + pkg-config --cflags --libs gio-2.0 370s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 371s build (gio, dynamic): OK 371s + echo build (gio, dynamic): OK 371s + [ -x gio-dynamic ] 371s + foo=bar ./gio-dynamic 371s run (gio, dynamic): OK 371s + echo run (gio, dynamic): OK 371s + cflags= 371s + pcflags= 371s + packages=gio-unix-2.0 371s + pkg-config --cflags --libs gio-unix-2.0 371s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 371s build (gio-unix, dynamic): OK 371s + echo build (gio-unix, dynamic): OK 371s + [ -x gio-unix-dynamic ] 371s + foo=bar ./gio-unix-dynamic 371s run (gio-unix, dynamic): OK 371s + echo run (gio-unix, dynamic): OK 371s + cflags= 371s + pcflags= 371s + packages=gmodule-2.0 371s + pkg-config --cflags --libs gmodule-2.0 371s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 371s build (gmodule, dynamic): OK 371s + echo build (gmodule, dynamic): OK 371s + [ -x gmodule-dynamic ] 371s + foo=bar ./gmodule-dynamic 371s + echo run (gmodule, dynamic): OK 371s + cflags= 371s + pcflags= 371s + packages=gthread-2.0 371s run (gmodule, dynamic): OK 371s + pkg-config --cflags --libs gthread-2.0 371s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 371s + echo build (gthread, dynamic): OK 371s + [ -x gthread-dynamic ] 371s + foo=bar ./gthread-dynamic 371s + echo run (gthread, dynamic): OK 371s + rm -rf /tmp/tmp.WcfvXM8k0C 371s + debian/tests/build-static 371s + mode=dynamic 371s + getopt -o --long static -n debian/tests/build -- --static 371s + getopt_temp= --static -- 371s + eval set -- --static -- 371s + set -- --static -- 371s + true 371s + mode=static 371s + shift 371s + continue 371s + true 371s + shift 371s + break 371s + mktemp -d 371s build (gthread, dynamic): OK 371s run (gthread, dynamic): OK 371s + WORKDIR=/tmp/tmp.Vh6RUMVtWk 371s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 371s + cd /tmp/tmp.Vh6RUMVtWk 371s + [ -n ] 371s + CROSS_COMPILE= 371s + cat 371s + cat 371s + cat 371s + cat 371s + cat 371s + cat 371s + cflags= 371s + pcflags= 371s + packages=glib-2.0 371s + cflags=-static 371s + pcflags=--static 371s + pkg-config --static --cflags --libs glib-2.0 371s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 371s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s build (glib, static): OK 371s run (glib, static): OK 371s + echo build (glib, static): OK 371s + [ -x glib-static ] 371s + foo=bar ./glib-static 371s + echo run (glib, static): OK 371s + cflags= 371s + pcflags= 371s + packages=gobject-2.0 371s + cflags=-static 371s + pcflags=--static 371s + pkg-config --static --cflags --libs gobject-2.0 371s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 371s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s + echo build (gobject, static): OK 371s + [ -x gobject-static ] 371s + foo=bar ./gobject-static 371s + echo run (gobject, static): OK 371s + cflags= 371s + pcflags= 371s + packages=gio-2.0 371s + cflags=-static 371s + pcflags=--static 371s + continue 371s + cflags= 371s + pcflags= 371s + packages=gio-unix-2.0 371s + cflags=-static 371s + pcflags=--static 371s + continue 371s + cflags= 371s + pcflags= 371s + packages=gmodule-2.0 371s + cflags=-static 371s + pcflags=--static 371s + pkg-config --static --cflags --libs gmodule-2.0 371s build (gobject, static): OK 371s run (gobject, static): OK 371s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 371s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 371s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 371s build (gmodule, static): OK 371s + echo build (gmodule, static): OK 371s + [ -x gmodule-static ] 371s + foo=bar ./gmodule-static 371s + echo run (gmodule, static): OK 371s + cflags= 371s + pcflags= 371s + packages=gthread-2.0 371s + cflags=-static 371s + pcflags=--static 371s run (gmodule, static): OK 371s + pkg-config --static --cflags --libs gthread-2.0 371s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 372s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 372s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 372s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 372s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 372s build (gthread, static): OK 372s run (gthread, static): OK 372s + echo build (gthread, static): OK 372s + [ -x gthread-static ] 372s + foo=bar ./gthread-static 372s + echo run (gthread, static): OK 372s + rm -rf /tmp/tmp.Vh6RUMVtWk 372s + debian/tests/girepository-tools 372s + cd /tmp/autopkgtest.fHKCBC/autopkgtest_tmp 372s + dpkg-architecture -qDEB_HOST_GNU_TYPE 372s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 372s + dpkg-architecture -qDEB_HOST_MULTIARCH 372s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 372s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 372s typelib: GLib-2.0 372s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 372s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 372s + debian/tests/libgio-2.0-dev-bin 372s + gdbus-codegen --help 372s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 372s [--c-namespace NAMESPACE] [--c-generate-object-manager] 372s [--c-generate-autocleanup {none,objects,all}] 372s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 372s [--generate-rst OUTFILES] [--pragma-once] 372s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 372s [--glib-min-required VERSION] 372s [--glib-max-allowed VERSION] 372s [--symbol-decorator SYMBOL_DECORATOR] 372s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 372s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 372s [--generate-c-code OUTFILES | --header | --body | 372s --interface-info-header | --interface-info-body] 372s [--output FILE | --output-directory OUTDIR] 372s FILE [FILE ...] 372s 372s D-Bus code and documentation generator 372s 372s positional arguments: 372s FILE D-Bus introspection XML file 372s 372s options: 372s -h, --help show this help message and exit 372s --interface-prefix PREFIX 372s String to strip from D-Bus interface names for code 372s and docs 372s --c-namespace NAMESPACE 372s The namespace to use for generated C code 372s --c-generate-object-manager 372s Generate a GDBusObjectManagerClient subclass when 372s generating C code 372s --c-generate-autocleanup {none,objects,all} 372s Generate autocleanup support 372s --generate-docbook OUTFILES 372s Generate Docbook in OUTFILES-org.Project.IFace.xml 372s --generate-md OUTFILES 372s Generate Markdown in OUTFILES-org.Project.IFace.md 372s --generate-rst OUTFILES 372s Generate reStructuredText in OUTFILES- 372s org.Project.IFace.rst 372s --pragma-once Use "pragma once" as the inclusion guard 372s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 372s Add annotation (may be used several times) 372s --glib-min-required VERSION 372s Minimum version of GLib to be supported by the 372s outputted code (default: 2.30) 372s --glib-max-allowed VERSION 372s Maximum version of GLib to be used by the outputted 372s code (default: current GLib version) 372s --symbol-decorator SYMBOL_DECORATOR 372s Macro used to decorate a symbol in the outputted 372s header, possibly to export symbols 372s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 372s Additional header required for decorator specified by 372s --symbol-decorator 372s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 372s Additional define required for decorator specified by 372s --symbol-decorator 372s --generate-c-code OUTFILES 372s Generate C code in OUTFILES.[ch] 372s --header Generate C headers 372s --body Generate C code 372s --interface-info-header 372s Generate GDBusInterfaceInfo C header 372s --interface-info-body 372s Generate GDBusInterfaceInfo C code 372s --output FILE Write output into the specified file 372s --output-directory OUTDIR 372s Location to output generated files 372s + glib-compile-resources --version 372s 2.86.3 372s + glib-genmarshal --version 372s glib-genmarshal version 2.86.3 372s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 372s You may redistribute copies of glib-genmarshal under the terms of 372s the GNU General Public License which can be found in the 372s GLib source package. Sources, examples and contact 372s information are available at http://www.gtk.org 372s + glib-gettextize --version 372s /usr/bin/glib-gettextize (GNU glib) 2.86.3 372s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 372s This is free software; see the source for copying conditions. There is NO 372s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 372s Written by Ulrich Drepper 372s + glib-mkenums --version 372s glib-mkenums version 2.86.3 372s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 372s You may redistribute copies of glib-mkenums under the terms of 372s the GNU General Public License which can be found in the 372s GLib source package. Sources, examples and contact 372s information are available at http://www.gtk.org 372s + gobject-query tree 372s + gtester --version 372s GObject 372s + gtester-report --version 372s gtester version 2.86.3 372s + cd /tmp/autopkgtest.fHKCBC/autopkgtest_tmp 372s + dpkg-architecture -qDEB_HOST_MULTIARCH 372s gtester-report (GLib utils) version 2.86.3. 372s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 372s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 372s typelib: GLib-2.0 372s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 372s + gi-decompile-typelib -o GLib.gir GLib.typelib 373s autopkgtest [11:20:53]: test libglib2.0-dev: -----------------------] 373s autopkgtest [11:20:53]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 373s libglib2.0-dev PASS (superficial) 373s autopkgtest [11:20:53]: test installed-tests: preparing testbed 392s Creating nova instance adt-resolute-ppc64el-glib2.0-20260207-111440-juju-7f2275-prod-proposed-migration-environment-2-4870f492-f651-482f-97ed-043fddeeb5d7 from image adt/ubuntu-resolute-ppc64el-server-20260207.img (UUID 1767429f-3c45-4a46-b104-1747753d8dc7)... 441s autopkgtest [11:22:01]: testbed dpkg architecture: ppc64el 441s autopkgtest [11:22:01]: testbed apt version: 3.1.15 441s autopkgtest [11:22:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 441s autopkgtest [11:22:01]: testbed release detected to be: resolute 442s autopkgtest [11:22:02]: updating testbed package index (apt update) 442s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 442s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 442s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 442s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 442s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB] 442s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.1 kB] 442s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [196 kB] 442s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1608 kB] 443s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [236 kB] 443s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1459 kB] 443s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.5 kB] 443s Fetched 3691 kB in 1s (3419 kB/s) 444s Reading package lists... 445s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 445s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 445s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 445s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 446s Reading package lists... 446s Reading package lists... 446s Building dependency tree... 446s Reading state information... 446s Calculating upgrade... 446s The following packages will be upgraded: 446s 3cpio libevent-core-2.1-7t64 libpcap0.8t64 446s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 446s Need to get 598 kB of archives. 446s After this operation, 0 B of additional disk space will be used. 446s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcap0.8t64 ppc64el 1.10.5-2ubuntu3 [181 kB] 446s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el 3cpio ppc64el 0.14.0-1ubuntu1 [308 kB] 446s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libevent-core-2.1-7t64 ppc64el 2.1.12-stable-10build2 [109 kB] 447s dpkg-preconfigure: unable to re-open stdin: No such file or directory 447s Fetched 598 kB in 0s (16.8 MB/s) 447s (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 ... 82008 files and directories currently installed.) 447s Preparing to unpack .../libpcap0.8t64_1.10.5-2ubuntu3_ppc64el.deb ... 447s Unpacking libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 448s Preparing to unpack .../3cpio_0.14.0-1ubuntu1_ppc64el.deb ... 448s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 448s Preparing to unpack .../libevent-core-2.1-7t64_2.1.12-stable-10build2_ppc64el.deb ... 448s Unpacking libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 448s Setting up 3cpio (0.14.0-1ubuntu1) ... 448s Setting up libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) ... 449s Setting up libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) ... 449s Processing triggers for man-db (2.13.1-1) ... 452s Processing triggers for libc-bin (2.42-2ubuntu4) ... 453s autopkgtest [11:22:13]: upgrading testbed (apt dist-upgrade and autopurge) 453s Reading package lists... 453s Building dependency tree... 453s Reading state information... 453s Calculating upgrade... 453s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 453s Reading package lists... 454s Building dependency tree... 454s Reading state information... 454s Solving dependencies... 454s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 456s Reading package lists... 457s Building dependency tree... 457s Reading state information... 457s Solving dependencies... 457s The following NEW packages will be installed: 457s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 457s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1 457s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 457s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1 457s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 457s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 457s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 457s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy 457s x11-common x11-xkb-utils xserver-common xvfb 457s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 457s Need to get 19.9 MB of archives. 457s After this operation, 114 MB of additional disk space will be used. 457s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu2 [24.4 kB] 457s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el desktop-file-utils ppc64el 0.28-1build1 [62.3 kB] 457s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 457s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 457s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 457s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ppc64el gnome-desktop-testing ppc64el 2021.1-5 [17.8 kB] 457s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build2 [16.1 kB] 457s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libx11-xcb1 ppc64el 2:1.8.12-1build1 [8022 B] 457s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2ubuntu1 [7964 B] 457s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-present0 ppc64el 1.17.0-2ubuntu1 [6340 B] 457s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-randr0 ppc64el 1.17.0-2ubuntu1 [19.1 kB] 457s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-sync1 ppc64el 1.17.0-2ubuntu1 [9864 B] 457s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2ubuntu1 [10.8 kB] 457s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxshmfence1 ppc64el 1.3.3-1build1 [5420 B] 457s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el mesa-libgallium ppc64el 25.3.3-1ubuntu1 [12.5 MB] 457s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgbm1 ppc64el 25.3.3-1ubuntu1 [41.7 kB] 457s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 457s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libvulkan1 ppc64el 1.4.335.0-1 [175 kB] 457s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1-mesa-dri ppc64el 25.3.3-1ubuntu1 [36.4 kB] 457s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.3-4 [111 kB] 457s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.3-4 [18.2 kB] 457s Get:22 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-dbusmock all 0.38.1-1 [92.0 kB] 457s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 457s Get:24 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libglib2.0-tests ppc64el 2.86.3-4 [2434 kB] 457s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-glx0 ppc64el 1.17.0-2ubuntu1 [26.4 kB] 457s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-shm0 ppc64el 1.17.0-2ubuntu1 [6072 B] 457s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-2 [12.0 kB] 457s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx-mesa0 ppc64el 25.3.3-1ubuntu1 [132 kB] 457s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-common all 1:7.7+24ubuntu1 [22.4 kB] 457s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libice6 ppc64el 2:1.1.1-1build1 [51.9 kB] 457s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpixman-1-0 ppc64el 0.46.4-1 [347 kB] 457s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsm6 ppc64el 2:1.2.6-1build1 [18.6 kB] 457s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libunwind8 ppc64el 1.8.3-0ubuntu1 [68.2 kB] 457s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.3 [203 kB] 457s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxmu6 ppc64el 2:1.1.3-4 [56.9 kB] 457s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxpm4 ppc64el 1:3.5.17-1build3 [50.5 kB] 457s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxaw7 ppc64el 2:1.0.16-1build1 [234 kB] 457s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxfont2 ppc64el 1:2.0.6-2 [119 kB] 457s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build5 [90.2 kB] 457s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrender1 ppc64el 1:0.9.12-1 [23.0 kB] 457s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrandr2 ppc64el 2:1.5.4-1build1 [21.7 kB] 457s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-xkb-utils ppc64el 7.7+9build1 [202 kB] 457s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 457s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglvnd0 ppc64el 1.7.0-3 [67.2 kB] 457s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx0 ppc64el 1.7.0-3 [42.3 kB] 457s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1 ppc64el 1.7.0-3 [103 kB] 458s Get:47 http://ftpmaster.internal/ubuntu resolute/universe ppc64el xvfb ppc64el 2:21.1.21-1ubuntu1 [1135 kB] 458s Fetched 19.9 MB in 1s (24.3 MB/s) 458s Selecting previously unselected package dbus-x11. 458s (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 ... 82008 files and directories currently installed.) 458s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_ppc64el.deb ... 458s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 458s Selecting previously unselected package desktop-file-utils. 458s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_ppc64el.deb ... 458s Unpacking desktop-file-utils (0.28-1build1) ... 458s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 458s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 458s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 458s Selecting previously unselected package native-architecture. 458s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ... 458s Unpacking native-architecture (0.2.6build1) ... 458s Selecting previously unselected package girepository-tools:ppc64el. 458s Preparing to unpack .../04-girepository-tools_2.86.3-4_ppc64el.deb ... 458s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 458s Selecting previously unselected package gnome-desktop-testing. 458s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_ppc64el.deb ... 458s Unpacking gnome-desktop-testing (2021.1-5) ... 458s Selecting previously unselected package libfontenc1:ppc64el. 458s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1build2_ppc64el.deb ... 458s Unpacking libfontenc1:ppc64el (1:1.1.8-1build2) ... 458s Selecting previously unselected package libx11-xcb1:ppc64el. 458s Preparing to unpack .../07-libx11-xcb1_2%3a1.8.12-1build1_ppc64el.deb ... 458s Unpacking libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 458s Selecting previously unselected package libxcb-dri3-0:ppc64el. 458s Preparing to unpack .../08-libxcb-dri3-0_1.17.0-2ubuntu1_ppc64el.deb ... 458s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2ubuntu1) ... 458s Selecting previously unselected package libxcb-present0:ppc64el. 458s Preparing to unpack .../09-libxcb-present0_1.17.0-2ubuntu1_ppc64el.deb ... 458s Unpacking libxcb-present0:ppc64el (1.17.0-2ubuntu1) ... 458s Selecting previously unselected package libxcb-randr0:ppc64el. 458s Preparing to unpack .../10-libxcb-randr0_1.17.0-2ubuntu1_ppc64el.deb ... 458s Unpacking libxcb-randr0:ppc64el (1.17.0-2ubuntu1) ... 458s Selecting previously unselected package libxcb-sync1:ppc64el. 458s Preparing to unpack .../11-libxcb-sync1_1.17.0-2ubuntu1_ppc64el.deb ... 458s Unpacking libxcb-sync1:ppc64el (1.17.0-2ubuntu1) ... 458s Selecting previously unselected package libxcb-xfixes0:ppc64el. 458s Preparing to unpack .../12-libxcb-xfixes0_1.17.0-2ubuntu1_ppc64el.deb ... 458s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2ubuntu1) ... 458s Selecting previously unselected package libxshmfence1:ppc64el. 458s Preparing to unpack .../13-libxshmfence1_1.3.3-1build1_ppc64el.deb ... 458s Unpacking libxshmfence1:ppc64el (1.3.3-1build1) ... 458s Selecting previously unselected package mesa-libgallium:ppc64el. 458s Preparing to unpack .../14-mesa-libgallium_25.3.3-1ubuntu1_ppc64el.deb ... 458s Unpacking mesa-libgallium:ppc64el (25.3.3-1ubuntu1) ... 458s Selecting previously unselected package libgbm1:ppc64el. 458s Preparing to unpack .../15-libgbm1_25.3.3-1ubuntu1_ppc64el.deb ... 458s Unpacking libgbm1:ppc64el (25.3.3-1ubuntu1) ... 458s Selecting previously unselected package libgio-2.0-dev-bin. 458s Preparing to unpack .../16-libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 458s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 458s Selecting previously unselected package libvulkan1:ppc64el. 458s Preparing to unpack .../17-libvulkan1_1.4.335.0-1_ppc64el.deb ... 458s Unpacking libvulkan1:ppc64el (1.4.335.0-1) ... 458s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 458s Preparing to unpack .../18-libgl1-mesa-dri_25.3.3-1ubuntu1_ppc64el.deb ... 458s Unpacking libgl1-mesa-dri:ppc64el (25.3.3-1ubuntu1) ... 458s Selecting previously unselected package libglib2.0-bin. 458s Preparing to unpack .../19-libglib2.0-bin_2.86.3-4_ppc64el.deb ... 458s Unpacking libglib2.0-bin (2.86.3-4) ... 458s Selecting previously unselected package libglib2.0-dev-bin. 458s Preparing to unpack .../20-libglib2.0-dev-bin_2.86.3-4_ppc64el.deb ... 458s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 458s Selecting previously unselected package python3-dbusmock. 458s Preparing to unpack .../21-python3-dbusmock_0.38.1-1_all.deb ... 458s Unpacking python3-dbusmock (0.38.1-1) ... 458s Selecting previously unselected package tzdata-legacy. 458s Preparing to unpack .../22-tzdata-legacy_2025c-3ubuntu3_all.deb ... 458s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 459s Selecting previously unselected package libglib2.0-tests. 459s Preparing to unpack .../23-libglib2.0-tests_2.86.3-4_ppc64el.deb ... 459s Unpacking libglib2.0-tests (2.86.3-4) ... 459s Selecting previously unselected package libxcb-glx0:ppc64el. 459s Preparing to unpack .../24-libxcb-glx0_1.17.0-2ubuntu1_ppc64el.deb ... 459s Unpacking libxcb-glx0:ppc64el (1.17.0-2ubuntu1) ... 459s Selecting previously unselected package libxcb-shm0:ppc64el. 459s Preparing to unpack .../25-libxcb-shm0_1.17.0-2ubuntu1_ppc64el.deb ... 459s Unpacking libxcb-shm0:ppc64el (1.17.0-2ubuntu1) ... 459s Selecting previously unselected package libxxf86vm1:ppc64el. 459s Preparing to unpack .../26-libxxf86vm1_1%3a1.1.4-2_ppc64el.deb ... 459s Unpacking libxxf86vm1:ppc64el (1:1.1.4-2) ... 459s Selecting previously unselected package libglx-mesa0:ppc64el. 459s Preparing to unpack .../27-libglx-mesa0_25.3.3-1ubuntu1_ppc64el.deb ... 459s Unpacking libglx-mesa0:ppc64el (25.3.3-1ubuntu1) ... 459s Selecting previously unselected package x11-common. 459s Preparing to unpack .../28-x11-common_1%3a7.7+24ubuntu1_all.deb ... 459s Unpacking x11-common (1:7.7+24ubuntu1) ... 459s Selecting previously unselected package libice6:ppc64el. 459s Preparing to unpack .../29-libice6_2%3a1.1.1-1build1_ppc64el.deb ... 459s Unpacking libice6:ppc64el (2:1.1.1-1build1) ... 459s Selecting previously unselected package libpixman-1-0:ppc64el. 459s Preparing to unpack .../30-libpixman-1-0_0.46.4-1_ppc64el.deb ... 459s Unpacking libpixman-1-0:ppc64el (0.46.4-1) ... 459s Selecting previously unselected package libsm6:ppc64el. 459s Preparing to unpack .../31-libsm6_2%3a1.2.6-1build1_ppc64el.deb ... 459s Unpacking libsm6:ppc64el (2:1.2.6-1build1) ... 459s Selecting previously unselected package libunwind8:ppc64el. 459s Preparing to unpack .../32-libunwind8_1.8.3-0ubuntu1_ppc64el.deb ... 459s Unpacking libunwind8:ppc64el (1.8.3-0ubuntu1) ... 459s Selecting previously unselected package libxt6t64:ppc64el. 459s Preparing to unpack .../33-libxt6t64_1%3a1.2.1-1.3_ppc64el.deb ... 459s Unpacking libxt6t64:ppc64el (1:1.2.1-1.3) ... 459s Selecting previously unselected package libxmu6:ppc64el. 459s Preparing to unpack .../34-libxmu6_2%3a1.1.3-4_ppc64el.deb ... 459s Unpacking libxmu6:ppc64el (2:1.1.3-4) ... 459s Selecting previously unselected package libxpm4:ppc64el. 459s Preparing to unpack .../35-libxpm4_1%3a3.5.17-1build3_ppc64el.deb ... 459s Unpacking libxpm4:ppc64el (1:3.5.17-1build3) ... 459s Selecting previously unselected package libxaw7:ppc64el. 459s Preparing to unpack .../36-libxaw7_2%3a1.0.16-1build1_ppc64el.deb ... 459s Unpacking libxaw7:ppc64el (2:1.0.16-1build1) ... 459s Selecting previously unselected package libxfont2:ppc64el. 459s Preparing to unpack .../37-libxfont2_1%3a2.0.6-2_ppc64el.deb ... 459s Unpacking libxfont2:ppc64el (1:2.0.6-2) ... 459s Selecting previously unselected package libxkbfile1:ppc64el. 459s Preparing to unpack .../38-libxkbfile1_1%3a1.1.0-1build5_ppc64el.deb ... 459s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build5) ... 459s Selecting previously unselected package libxrender1:ppc64el. 459s Preparing to unpack .../39-libxrender1_1%3a0.9.12-1_ppc64el.deb ... 459s Unpacking libxrender1:ppc64el (1:0.9.12-1) ... 459s Selecting previously unselected package libxrandr2:ppc64el. 459s Preparing to unpack .../40-libxrandr2_2%3a1.5.4-1build1_ppc64el.deb ... 459s Unpacking libxrandr2:ppc64el (2:1.5.4-1build1) ... 459s Selecting previously unselected package x11-xkb-utils. 459s Preparing to unpack .../41-x11-xkb-utils_7.7+9build1_ppc64el.deb ... 459s Unpacking x11-xkb-utils (7.7+9build1) ... 459s Selecting previously unselected package xserver-common. 459s Preparing to unpack .../42-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 459s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 459s Selecting previously unselected package libglvnd0:ppc64el. 459s Preparing to unpack .../43-libglvnd0_1.7.0-3_ppc64el.deb ... 459s Unpacking libglvnd0:ppc64el (1.7.0-3) ... 459s Selecting previously unselected package libglx0:ppc64el. 459s Preparing to unpack .../44-libglx0_1.7.0-3_ppc64el.deb ... 459s Unpacking libglx0:ppc64el (1.7.0-3) ... 459s Selecting previously unselected package libgl1:ppc64el. 459s Preparing to unpack .../45-libgl1_1.7.0-3_ppc64el.deb ... 459s Unpacking libgl1:ppc64el (1.7.0-3) ... 459s Selecting previously unselected package xvfb. 459s Preparing to unpack .../46-xvfb_2%3a21.1.21-1ubuntu1_ppc64el.deb ... 459s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 459s Setting up gnome-desktop-testing (2021.1-5) ... 459s Setting up libxcb-dri3-0:ppc64el (1.17.0-2ubuntu1) ... 459s Setting up libpixman-1-0:ppc64el (0.46.4-1) ... 459s Setting up libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 459s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 459s Setting up native-architecture (0.2.6build1) ... 459s Setting up libxcb-xfixes0:ppc64el (1.17.0-2ubuntu1) ... 459s Setting up desktop-file-utils (0.28-1build1) ... 459s Setting up libxpm4:ppc64el (1:3.5.17-1build3) ... 459s Setting up libxrender1:ppc64el (1:0.9.12-1) ... 459s Setting up libglvnd0:ppc64el (1.7.0-3) ... 459s Setting up libxcb-glx0:ppc64el (1.17.0-2ubuntu1) ... 459s Setting up x11-common (1:7.7+24ubuntu1) ... 460s Setting up libglib2.0-bin (2.86.3-4) ... 460s Setting up libxcb-shm0:ppc64el (1.17.0-2ubuntu1) ... 460s Setting up python3-dbusmock (0.38.1-1) ... 460s Setting up libunwind8:ppc64el (1.8.3-0ubuntu1) ... 460s Setting up tzdata-legacy (2025c-3ubuntu3) ... 460s Setting up libxxf86vm1:ppc64el (1:1.1.4-2) ... 460s Setting up libxcb-present0:ppc64el (1.17.0-2ubuntu1) ... 460s Setting up libfontenc1:ppc64el (1:1.1.8-1build2) ... 460s Setting up libxcb-sync1:ppc64el (1.17.0-2ubuntu1) ... 460s Setting up libxrandr2:ppc64el (2:1.5.4-1build1) ... 460s Setting up libvulkan1:ppc64el (1.4.335.0-1) ... 460s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 460s Setting up libxshmfence1:ppc64el (1.3.3-1build1) ... 460s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 460s Setting up libxcb-randr0:ppc64el (1.17.0-2ubuntu1) ... 460s Setting up libxkbfile1:ppc64el (1:1.1.0-1build5) ... 460s Setting up libxfont2:ppc64el (1:2.0.6-2) ... 460s Setting up libice6:ppc64el (2:1.1.1-1build1) ... 460s Setting up mesa-libgallium:ppc64el (25.3.3-1ubuntu1) ... 460s Setting up girepository-tools:ppc64el (2.86.3-4) ... 460s Setting up libgbm1:ppc64el (25.3.3-1ubuntu1) ... 460s Setting up libgl1-mesa-dri:ppc64el (25.3.3-1ubuntu1) ... 460s Setting up libsm6:ppc64el (2:1.2.6-1build1) ... 460s Setting up libglib2.0-dev-bin (2.86.3-4) ... 460s Setting up libglx-mesa0:ppc64el (25.3.3-1ubuntu1) ... 460s Setting up libglx0:ppc64el (1.7.0-3) ... 460s Setting up libgl1:ppc64el (1.7.0-3) ... 460s Setting up libxt6t64:ppc64el (1:1.2.1-1.3) ... 460s Setting up libglib2.0-tests (2.86.3-4) ... 460s Setting up libxmu6:ppc64el (2:1.1.3-4) ... 460s Setting up libxaw7:ppc64el (2:1.0.16-1build1) ... 460s Setting up x11-xkb-utils (7.7+9build1) ... 460s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 460s Setting up xvfb (2:21.1.21-1ubuntu1) ... 460s Processing triggers for man-db (2.13.1-1) ... 460s Processing triggers for libc-bin (2.42-2ubuntu4) ... 464s autopkgtest [11:22:24]: test installed-tests: [----------------------- 464s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 464s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 464s group entry: ubuntu:x:1000: 464s Environment: 464s ADTTMP=/tmp/autopkgtest.fHKCBC/autopkgtest_tmp 464s ADT_ARTIFACTS=/tmp/autopkgtest.fHKCBC/installed-tests-artifacts 464s ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 464s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.fHKCBC/installed-tests-artifacts 464s AUTOPKGTEST_TESTBED_ARCH=ppc64el 464s AUTOPKGTEST_TEST_ARCH=ppc64el 464s AUTOPKGTEST_TMP=/tmp/autopkgtest.fHKCBC/autopkgtest_tmp 464s DEBIAN_FRONTEND=noninteractive 464s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 464s DEB_BUILD_OPTIONS=parallel=2 464s GIO_USE_VFS=local 464s GIO_USE_VOLUME_MONITOR=unix 464s HOME=/home/ubuntu 464s LANG=C.UTF-8 464s LOGNAME=ubuntu 464s MAIL=/var/mail/ubuntu 464s OLDPWD=/home/ubuntu 464s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 464s PWD=/tmp/autopkgtest.fHKCBC/build.TUW/src 464s SHELL=/bin/bash 464s SHLVL=1 464s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.fHKCBC/wrapper.sh --artifacts=/tmp/autopkgtest.fHKCBC/installed-tests-artifacts --chdir=/tmp/autopkgtest.fHKCBC/build.TUW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.fHKCBC/installed-tests-stderr --stdout=/tmp/autopkgtest.fHKCBC/installed-tests-stdout --tmp=/tmp/autopkgtest.fHKCBC/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 --make-executable=/tmp/autopkgtest.fHKCBC/build.TUW/src/debian/tests/installed-tests -- /tmp/autopkgtest.fHKCBC/build.TUW/src/debian/tests/installed-tests 464s SUDO_GID=1000 464s SUDO_HOME=/home/ubuntu 464s SUDO_UID=1000 464s SUDO_USER=ubuntu 464s TERM=linux 464s USER=ubuntu 464s XDG_RUNTIME_DIR=/tmp/autopkgtest.fHKCBC/autopkgtest_tmp 464s http_proxy=http://egress.ps7.internal:3128/ 464s https_proxy=http://egress.ps7.internal:3128/ 464s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 464s run-with-locales: de_DE=ISO-8859-1... 464s Character set: ISO-8859-1 464s Source file: de_DE 464s Output: /tmp/tmp.wPzABeOG4T/de_DE 464s run-with-locales: de_DE.utf8... 464s Character set: UTF-8 464s Source file: de_DE 464s Output: /tmp/tmp.wPzABeOG4T/de_DE.utf8 466s run-with-locales: de_DE@euro.utf8... 466s Character set: UTF-8 466s Source file: de_DE@euro 466s Output: /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8 467s run-with-locales: el_GR.utf8... 467s Character set: UTF-8 467s Source file: el_GR 467s Output: /tmp/tmp.wPzABeOG4T/el_GR.utf8 468s run-with-locales: en_GB=ISO-8859-1... 468s Character set: ISO-8859-1 468s Source file: en_GB 468s Output: /tmp/tmp.wPzABeOG4T/en_GB 469s run-with-locales: en_GB.utf8... 469s Character set: UTF-8 469s Source file: en_GB 469s Output: /tmp/tmp.wPzABeOG4T/en_GB.utf8 470s run-with-locales: en_US=ISO-8859-1... 470s Character set: ISO-8859-1 470s Source file: en_US 470s Output: /tmp/tmp.wPzABeOG4T/en_US 470s run-with-locales: en_US.utf8... 470s Character set: UTF-8 470s Source file: en_US 470s Output: /tmp/tmp.wPzABeOG4T/en_US.utf8 471s run-with-locales: es_ES.utf8... 471s Character set: UTF-8 471s Source file: es_ES 471s Output: /tmp/tmp.wPzABeOG4T/es_ES.utf8 473s run-with-locales: fa_IR=UTF-8... 473s Character set: UTF-8 473s Source file: fa_IR 473s Output: /tmp/tmp.wPzABeOG4T/fa_IR 474s run-with-locales: fa_IR.utf8... 474s Character set: UTF-8 474s Source file: fa_IR 474s Output: /tmp/tmp.wPzABeOG4T/fa_IR.utf8 475s run-with-locales: fr_FR.utf8... 475s Character set: UTF-8 475s Source file: fr_FR 475s Output: /tmp/tmp.wPzABeOG4T/fr_FR.utf8 476s run-with-locales: hr_HR.utf8... 476s Character set: UTF-8 476s Source file: hr_HR 476s Output: /tmp/tmp.wPzABeOG4T/hr_HR.utf8 478s run-with-locales: ja_JP.utf8... 478s Character set: UTF-8 478s Source file: ja_JP 478s Output: /tmp/tmp.wPzABeOG4T/ja_JP.utf8 478s run-with-locales: ja_JP.EUC-JP... 478s Character set: EUC-JP 478s Source file: ja_JP 478s Output: /tmp/tmp.wPzABeOG4T/ja_JP.eucjp 479s run-with-locales: lt_LT.utf8... 479s Character set: UTF-8 479s Source file: lt_LT 479s Output: /tmp/tmp.wPzABeOG4T/lt_LT.utf8 480s run-with-locales: pl_PL=ISO-8859-2... 480s Character set: ISO-8859-2 480s Source file: pl_PL 480s Output: /tmp/tmp.wPzABeOG4T/pl_PL 480s run-with-locales: pl_PL.ISO-8859-2... 480s Character set: ISO-8859-2 480s Source file: pl_PL 480s Output: /tmp/tmp.wPzABeOG4T/pl_PL.iso88592 481s run-with-locales: pl_PL.utf8... 481s Character set: UTF-8 481s Source file: pl_PL 481s Output: /tmp/tmp.wPzABeOG4T/pl_PL.utf8 482s run-with-locales: ru_RU=ISO-8859-5... 482s Character set: ISO-8859-5 482s Source file: ru_RU 482s Output: /tmp/tmp.wPzABeOG4T/ru_RU 482s run-with-locales: ru_RU.utf8... 482s Character set: UTF-8 482s Source file: ru_RU 482s Output: /tmp/tmp.wPzABeOG4T/ru_RU.utf8 483s run-with-locales: sr_RS=UTF-8... 483s Character set: UTF-8 483s Source file: sr_RS 483s Output: /tmp/tmp.wPzABeOG4T/sr_RS 485s run-with-locales: sr_RS@latin=UTF-8... 485s Character set: UTF-8 485s Source file: sr_RS@latin 485s Output: /tmp/tmp.wPzABeOG4T/sr_RS@latin 486s run-with-locales: sv_SE=ISO-8859-1... 486s Character set: ISO-8859-1 486s Source file: sv_SE 486s Output: /tmp/tmp.wPzABeOG4T/sv_SE 486s run-with-locales: sv_SE.utf8... 486s Character set: UTF-8 486s Source file: sv_SE 486s Output: /tmp/tmp.wPzABeOG4T/sv_SE.utf8 488s run-with-locales: tr_TR=ISO-8859-9... 488s Character set: ISO-8859-9 488s Source file: tr_TR 488s Output: /tmp/tmp.wPzABeOG4T/tr_TR 488s run-with-locales: tr_TR.utf8... 488s Character set: UTF-8 488s Source file: tr_TR 488s Output: /tmp/tmp.wPzABeOG4T/tr_TR.utf8 489s run-with-locales: tt_RU=UTF-8... 489s Character set: UTF-8 489s Source file: tt_RU 489s Output: /tmp/tmp.wPzABeOG4T/tt_RU 490s run-with-locales: tt_RU.utf8... 490s Character set: UTF-8 490s Source file: tt_RU 490s Output: /tmp/tmp.wPzABeOG4T/tt_RU.utf8 492s run-with-locales: tt_RU@iqtelif=UTF-8... 492s Character set: UTF-8 492s Source file: tt_RU@iqtelif 492s Output: /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif 493s /tmp/tmp.wPzABeOG4T 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/el_GR.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/de_DE.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/sv_SE 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_TIME 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_NAME 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/sv_SE/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_TIME 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_NAME 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/ja_JP.eucjp/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/tr_TR.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/fa_IR 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_TIME 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_NAME 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/fa_IR/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/tt_RU 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_TIME 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_NAME 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/tt_RU/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/tr_TR 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_TIME 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_NAME 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/tr_TR/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/pl_PL 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_TIME 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_NAME 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/pl_PL/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/lt_LT.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/tt_RU.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/en_US.utf8 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/en_US.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/fa_IR.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/ja_JP.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/de_DE@euro.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/hr_HR.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/fr_FR.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_TIME 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_NAME 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/pl_PL.iso88592/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/ru_RU 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_TIME 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_NAME 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/ru_RU/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/sv_SE.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/en_US 493s /tmp/tmp.wPzABeOG4T/en_US/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/en_US/LC_TIME 493s /tmp/tmp.wPzABeOG4T/en_US/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/en_US/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/en_US/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/en_US/LC_NAME 493s /tmp/tmp.wPzABeOG4T/en_US/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/en_US/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/en_US/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/en_US/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_US/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_US/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/en_US/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/ru_RU.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/es_ES.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/de_DE 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_TIME 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_NAME 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/de_DE/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/pl_PL.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/en_GB 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_TIME 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_NAME 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/en_GB/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_TIME 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_NAME 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/en_GB.utf8/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_TIME 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_NAME 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/sr_RS@latin/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/sr_RS 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_TIME 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_NAME 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/sr_RS/LC_TELEPHONE 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_ADDRESS 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_TIME 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_COLLATE 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_MEASUREMENT 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_NUMERIC 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_NAME 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_CTYPE 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_IDENTIFICATION 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_PAPER 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_MONETARY 493s /tmp/tmp.wPzABeOG4T/tt_RU@iqtelif/LC_TELEPHONE 493s TAP version 14 493s # random seed: R02Sf049de8a3a9bba05a0be2e149013799f 493s 1..2 493s # Start of atomic tests 493s ok 1 /atomic/types 493s 1..332 493s # Running test: glib/atomic-c-17.test 493s ok 2 /atomic/threaded 493s # End of atomic tests 493s TAP version 14 493s # random seed: R02S5f917917556af21b6dc47f25b8811583 493s 1..3 493s # Start of alignof tests 493s ok 1 /alignof/fallback 493s # End of alignof tests 493s # Start of assert tests 493s ok 2 /assert/static 493s # End of assert tests 493s # Start of struct tests 493s ok 3 /struct/sizeof_member 493s # End of struct tests 493s TAP version 14 493s # random seed: R02Se5361b47c6eaba39f51773e49c088d47 493s 1..1 493s # Start of memchunk tests 493s ok 1 /memchunk/basic 493s # End of memchunk tests 493s ok - glib/atomic-c-17.test 493s # Running test: glib/macros.test 493s ok - glib/macros.test 493s # Running test: glib/memchunk.test 493s ok - glib/memchunk.test 493s # Running test: glib/static-link.test 493s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 493s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 493s and make sure you have glib build dependencies installed, including 493s meson. 493s ok # SKIP - glib/static-link.test 493s TAP version 14 493s # random seed: R02Sd28859d270b9c4f63398f13a4dfc5c33 493s 1..8 493s # Start of monitor tests 493s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 493s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 493s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 493s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s # Start of file tests 493s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 493s # End of file tests 493s # End of monitor tests 493s # Running test: glib/testfilemonitor.test 493s ok - glib/testfilemonitor.test 493s # Running test: glib/g-file.test 493s TAP version 14 493s # random seed: R02S0df22d322983ca1e53a03540ab8cedec 493s 1..8 493s # Start of g-file tests 493s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 493s ok 1 /g-file/test_g_file_new_null 493s ok 2 /g-file/test_g_file_new_for_path 493s ok 3 /g-file/test_g_file_new_for_uri 493s ok 4 /g-file/test_g_file_dup 493s ok 5 /g-file/test_g_file_get_parse_name_utf8 493s file:///tmp/test-tmp-glib_g-file.test-12LHK3 493s file:///tmp 493s file:///tmp 493s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 493s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 493s ok 6 /g-file/test_g_file_new_for_commandline_arg 493s /dir1 /dir1/dir2/dir3/ 493s /dir1/ /dir1/dir2/dir3/ 493s /dir1 /dir1/dir2/dir3 493s /dir1/ /dir1/dir2/dir3 493s /tmp/ /something/ 493s /dir1/dir2 /dir1/ 493s //dir1/new //dir1/new/dir2/dir3 493s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 493s file:///dir1 file:///dir1/dir2/dir3/ 493s file:///dir1/ file:///dir1/dir2/dir3/ 493s file:///dir1 file:///dir1/dir2/dir3 493s file:///dir1/ file:///dir1/dir2/dir3 493s file:///tmp/ file:///something/ 493s file:///dir1/dir2 file:///dir1/ 493s file:////dir1/new file:////dir1/new/dir2/dir3 493s 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 493s ok 7 /g-file/test_g_file_has_prefix 493s ok 8 /g-file/test_g_file_get_parent_child 493s # End of g-file tests 493s ok - glib/g-file.test 493s TAP version 14 493s # random seed: R02S0b78dc6599f7821f61691f62cb368efc 493s 1..1 493s # Start of gobject tests 493s # Start of refcount tests 493s # init 0xa198542d4a0 493s # 493s # init 0xa1985425580 493s # 493s # Running test: glib/signals-refcount1.test 498s # dispose 0xa198542d4a0! 498s # 498s # dispose 0xa1985425580! 498s # 498s ok 1 /gobject/refcount/signals 498s # slow test /gobject/refcount/signals executed in 5.00 secs 498s # End of refcount tests 498s # End of gobject tests 498s TAP version 14 498s # random seed: R02Sa2e3b0d65734bf4360fcace870c78895 498s 1..2 498s # Start of atomic tests 498s ok 1 /atomic/types 498s ok - glib/signals-refcount1.test 498s # Running test: glib/atomic-c-11.test 498s ok 2 /atomic/threaded 498s # End of atomic tests 498s ok - glib/atomic-c-11.test 498s # Running test: glib/task.test 498s TAP version 14 498s # random seed: R02Se931d2d75bd956187828e8b9c39eee4e 498s 1..36 498s # Start of gtask tests 498s ok 1 /gtask/basic 498s ok 2 /gtask/error 498s ok 3 /gtask/error-literal 498s ok 4 /gtask/error-literal-from-variable 498s ok 5 /gtask/return-from-same-iteration 498s ok 6 /gtask/return-from-toplevel 498s ok 7 /gtask/return-from-anon-thread 498s ok 8 /gtask/return-from-wrong-thread 498s ok 9 /gtask/no-callback 498s ok 10 /gtask/report-error 498s ok 11 /gtask/priority 498s ok 12 /gtask/name 498s ok 13 /gtask/static-name 498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 498s # Executing: glib/task.test 498s ok 14 /gtask/asynchronous-cancellation 498s ok 15 /gtask/check-cancellable 498s ok 16 /gtask/return-if-cancelled 498s ok 17 /gtask/run-in-thread 498s ok 18 /gtask/run-in-thread-sync 498s ok 19 /gtask/run-in-thread-priority 499s ok 20 /gtask/run-in-thread-nested 499s ok 21 /gtask/run-in-thread-overflow 499s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 499s # GLib-GIO-DEBUG: GTask 0x15c3605fafb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 499s # GLib-GIO-DEBUG: GTask 0x15c3605fb140 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 499s ok 22 /gtask/return-on-cancel 499s # GLib-GIO-DEBUG: GTask 0x15c360591670 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 499s # GLib-GIO-DEBUG: GTask 0x15c360591070 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 499s ok 23 /gtask/return-on-cancel-sync 499s ok 24 /gtask/return-on-cancel-atomic 499s ok 25 /gtask/return-pointer 499s ok 26 /gtask/return-value 499s ok 27 /gtask/return-prefixed-error 499s ok 28 /gtask/object-keepalive 499s ok 29 /gtask/legacy-error 499s ok 30 /gtask/finalize-without-return 499s # Start of name tests 499s ok 31 /gtask/name/macro-wrapper 499s # End of name tests 499s # Start of return tests 499s ok 32 /gtask/return/error-first 499s ok 33 /gtask/return/value-first 499s # Start of in-idle tests 499s ok 34 /gtask/return/in-idle/error-first 499s ok 35 /gtask/return/in-idle/value-first 499s # End of in-idle tests 499s # End of return tests 499s # Start of attach-source tests 499s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 499s ok 36 /gtask/attach-source/set-name 499s # End of attach-source tests 499s # End of gtask tests 499s ok - glib/task.test 499s # Running test: glib/cxx-98.test 499s ok - glib/cxx-98.test 499s # Running test: glib/asyncqueue.test 499s TAP version 14 499s # random seed: R02Sea20c3e5548dbb96aa320c002b2e5560 499s 1..2 499s # Start of gtask tests 499s # 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. 499s ok 1 /gtask/name 499s # Start of name tests 499s # 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. 499s ok 2 /gtask/name/macro-wrapper 499s # End of name tests 499s # End of gtask tests 499s TAP version 14 499s # random seed: R02S0890449348e033f570c97f6c174cf866 499s 1..7 499s # Start of asyncqueue tests 499s ok 1 /asyncqueue/basics 499s ok 2 /asyncqueue/sort 499s ok 3 /asyncqueue/destroy 499s ok 4 /asyncqueue/threads 499s ok 5 /asyncqueue/timed 499s ok 6 /asyncqueue/remove 499s ok 7 /asyncqueue/push_front 499s # End of asyncqueue tests 499s ok - glib/asyncqueue.test 499s # Running test: glib/file-enumerator.test 499s TAP version 14 499s # random seed: R02S4227ade2ae578bab35fa05e02ed4b64b 499s 1..1 499s # Start of file-enumerator tests 499s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 499s ok 1 /file-enumerator/close-on-dispose 499s # End of file-enumerator tests 500s ok - glib/file-enumerator.test 500s # Running test: glib/utf8-misc.test 500s ok - glib/utf8-misc.test 500s # Running test: glib/regex.test 500s TAP version 14 500s # random seed: R02S9543adb1d233932fd5e2cc8e8622fadc 500s 1..7 500s # Start of utf8 tests 500s ok 1 /utf8/strlen 500s ok 2 /utf8/strncpy 500s ok 3 /utf8/strrchr 500s ok 4 /utf8/reverse 500s ok 5 /utf8/substring 500s ok 6 /utf8/make-valid 500s ok 7 /utf8/truncate-middle 500s # End of utf8 tests 500s TAP version 14 500s # random seed: R02Sf15db8c2795bf5129a4d39bcfd9b98e6 500s 1..849 500s # Start of regex tests 500s ok 1 /regex/properties 500s ok 2 /regex/class 500s ok 3 /regex/lookahead 500s ok 4 /regex/lookbehind 500s ok 5 /regex/subpattern 500s ok 6 /regex/condition 500s ok 7 /regex/recursion 500s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 500s ok 8 /regex/multiline 500s ok 9 /regex/explicit-crlf 500s ok 10 /regex/max-lookbehind 500s ok 11 /regex/compile-errors 500s ok 12 /regex/jit-unsupported-matching 500s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 500s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 500s ok 13 /regex/unmatched-named-subpattern 500s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 500s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 500s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 500s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 500s ok 14 /regex/compiled-regex-after-jit-failure 500s # Start of new tests 500s ok 15 /regex/new/1 500s ok 16 /regex/new/2 500s ok 17 /regex/new/3 500s ok 18 /regex/new/4 500s ok 19 /regex/new/5 500s ok 20 /regex/new/6 500s ok 21 /regex/new/7 500s ok 22 /regex/new/8 500s ok 23 /regex/new/9 500s ok 24 /regex/new/10 500s ok 25 /regex/new/11 500s ok 26 /regex/new/12 500s ok 27 /regex/new/13 500s ok 28 /regex/new/14 500s ok 29 /regex/new/15 500s ok 30 /regex/new/16 500s ok 31 /regex/new/17 500s ok 32 /regex/new/18 500s ok 33 /regex/new/19 500s ok 34 /regex/new/71 500s ok 35 /regex/new/81 500s ok 36 /regex/new/83 500s # End of new tests 500s # Start of new-check-flags tests 500s ok 37 /regex/new-check-flags/20 500s ok 38 /regex/new-check-flags/21 500s ok 39 /regex/new-check-flags/22 500s ok 40 /regex/new-check-flags/23 500s ok 41 /regex/new-check-flags/24 500s ok 42 /regex/new-check-flags/25 500s ok 43 /regex/new-check-flags/26 500s ok 44 /regex/new-check-flags/27 500s ok 45 /regex/new-check-flags/28 500s ok 46 /regex/new-check-flags/29 500s ok 47 /regex/new-check-flags/30 500s ok 48 /regex/new-check-flags/31 500s ok 49 /regex/new-check-flags/32 500s ok 50 /regex/new-check-flags/33 500s ok 51 /regex/new-check-flags/34 500s ok 52 /regex/new-check-flags/35 500s ok 53 /regex/new-check-flags/36 500s # End of new-check-flags tests 500s # Start of new-fail tests 500s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 500s ok 54 /regex/new-fail/37 500s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 500s ok 55 /regex/new-fail/38 500s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 500s ok 56 /regex/new-fail/39 500s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 500s ok 57 /regex/new-fail/40 500s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 500s ok 58 /regex/new-fail/41 500s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 500s ok 59 /regex/new-fail/42 500s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 500s ok 60 /regex/new-fail/43 500s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 500s ok 61 /regex/new-fail/44 500s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 500s ok 62 /regex/new-fail/45 500s # Compiling pattern /a{4,2}/ failed with error: Error while compiling regular expression ‘a{4,2}’ at char 5: numbers out of order in {} quantifier 500s ok 63 /regex/new-fail/46 500s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 500s ok 64 /regex/new-fail/47 500s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 500s ok 65 /regex/new-fail/48 500s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 500s ok 66 /regex/new-fail/49 500s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 500s ok 67 /regex/new-fail/50 500s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 500s ok 68 /regex/new-fail/51 500s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 500s ok 69 /regex/new-fail/52 500s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 500s ok 70 /regex/new-fail/53 500s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 500s ok 71 /regex/new-fail/54 500s # Compiling pattern /a[:alpha:]b/ failed with error: Error while compiling regular expression ‘a[:alpha:]b’ at char 1: POSIX named classes are supported only within a class 500s ok 72 /regex/new-fail/55 500s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 500s ok 73 /regex/new-fail/56 500s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 500s ok 74 /regex/new-fail/57 500s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 500s ok 75 /regex/new-fail/58 500s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 500s ok 76 /regex/new-fail/59 500s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 500s ok 77 /regex/new-fail/60 500s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 500s ok 78 /regex/new-fail/61 500s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 500s ok 79 /regex/new-fail/62 500s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 500s ok 80 /regex/new-fail/63 500s # Compiling pattern /(a)(?(1)a|b|c)/ failed with error: Error while compiling regular expression ‘(a)(?(1)a|b|c)’ at char 3: conditional group contains more than two branches 500s ok 81 /regex/new-fail/64 500s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 500s ok 82 /regex/new-fail/65 500s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 500s ok 83 /regex/new-fail/66 500s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 500s ok 84 /regex/new-fail/67 500s # Compiling pattern /\x{110000}/ failed with error: Error while compiling regular expression ‘\x{110000}’ at char 9: character value in \x{...} sequence is too large 500s ok 85 /regex/new-fail/68 500s # Compiling pattern /^(?(0)f|b)oo/ failed with error: Error while compiling regular expression ‘^(?(0)f|b)oo’ at char 5: reference to non-existent subpattern 500s ok 86 /regex/new-fail/69 500s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 500s ok 87 /regex/new-fail/70 500s # Compiling pattern /(?(?foo)\gfoo)\geks)(?Peccs)/ failed with error: Error while compiling regular expression ‘(?Peks)(?Peccs)’ at char 16: two named subpatterns have the same name 500s ok 90 /regex/new-fail/74 500s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 500s ok 91 /regex/new-fail/75 500s # Compiling pattern /^(?(DEFINE) abc | xyz ) / failed with error: Error while compiling regular expression ‘^(?(DEFINE) abc | xyz ) ’ at char 4: DEFINE group contains more than one branch 500s ok 92 /regex/new-fail/76 500s # Compiling pattern /a/ failed with error: Invalid newline flags 500s ok 93 /regex/new-fail/77 500s # Compiling pattern /^(a)\g"3/ failed with error: Error while compiling regular expression ‘^(a)\g"3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 500s ok 94 /regex/new-fail/78 500s # Compiling pattern /^(a)\g{3/ failed with error: Error while compiling regular expression ‘^(a)\g{3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 500s ok 95 /regex/new-fail/79 500s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 500s ok 96 /regex/new-fail/80 500s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 500s ok 97 /regex/new-fail/82 500s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 500s ok 98 /regex/new-fail/84 500s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 500s ok 99 /regex/new-fail/85 500s # Compiling pattern /(?|(?A)|(?B))/ failed with error: Error while compiling regular expression ‘(?|(?A)|(?B))’ at char 16: different names for subpatterns of the same number are not allowed 500s ok 100 /regex/new-fail/86 500s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 500s ok 101 /regex/new-fail/87 500s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 500s ok 102 /regex/new-fail/88 500s # Compiling pattern /\k/ failed with error: Error while compiling regular expression ‘\k’ at char 2: \k is not followed by a braced, angle-bracketed, or quoted name 500s ok 103 /regex/new-fail/89 500s # Compiling pattern /a[\NB]c/ failed with error: Error while compiling regular expression ‘a[\NB]c’ at char 4: \N is not supported in a class 500s ok 104 /regex/new-fail/90 500s # Compiling pattern /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX/ failed with error: Error while compiling regular expression ‘(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX’ at char 260: name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN) 500s ok 105 /regex/new-fail/91 500s # Compiling pattern /(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")/ failed with error: Error while compiling regular expression ‘(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")’ at char 61: character value in \x{...} sequence is too large 500s ok 106 /regex/new-fail/92 500s # End of new-fail tests 500s # Start of match-simple tests 500s ok 107 /regex/match-simple/93 500s ok 108 /regex/match-simple/94 500s ok 109 /regex/match-simple/95 500s ok 110 /regex/match-simple/96 500s ok 111 /regex/match-simple/97 500s ok 112 /regex/match-simple/98 500s ok 113 /regex/match-simple/99 500s ok 114 /regex/match-simple/100 500s ok 115 /regex/match-simple/101 500s ok 116 /regex/match-simple/102 500s ok 117 /regex/match-simple/103 500s ok 118 /regex/match-simple/104 500s ok 119 /regex/match-simple/105 500s ok 120 /regex/match-simple/106 500s ok 121 /regex/match-simple/107 500s ok 122 /regex/match-simple/108 500s ok 123 /regex/match-simple/109 500s ok 124 /regex/match-simple/110 500s ok 125 /regex/match-simple/111 500s ok 126 /regex/match-simple/112 500s ok 127 /regex/match-simple/113 500s ok 128 /regex/match-simple/114 500s ok 129 /regex/match-simple/115 500s ok 130 /regex/match-simple/116 500s ok 131 /regex/match-simple/117 500s ok 132 /regex/match-simple/118 500s ok 133 /regex/match-simple/119 500s ok 134 /regex/match-simple/120 500s ok 135 /regex/match-simple/121 500s ok 136 /regex/match-simple/122 500s ok 137 /regex/match-simple/123 500s ok 138 /regex/match-simple/124 500s ok 139 /regex/match-simple/125 500s ok 140 /regex/match-simple/126 500s ok 141 /regex/match-simple/127 500s ok 142 /regex/match-simple/128 500s ok 143 /regex/match-simple/129 500s ok 144 /regex/match-simple/130 500s ok 145 /regex/match-simple/131 500s ok 146 /regex/match-simple/132 500s ok 147 /regex/match-simple/133 500s ok 148 /regex/match-simple/134 500s ok 149 /regex/match-simple/135 500s ok 150 /regex/match-simple/136 500s ok 151 /regex/match-simple/137 500s ok 152 /regex/match-simple/138 500s ok 153 /regex/match-simple/139 500s ok 154 /regex/match-simple/140 500s ok 155 /regex/match-simple/141 500s ok 156 /regex/match-simple/142 500s ok 157 /regex/match-simple/143 500s ok 158 /regex/match-simple/144 500s ok 159 /regex/match-simple/145 500s ok 160 /regex/match-simple/146 500s ok 161 /regex/match-simple/147 500s ok 162 /regex/match-simple/148 500s ok 163 /regex/match-simple/149 500s ok 164 /regex/match-simple/150 500s ok 165 /regex/match-simple/151 500s ok 166 /regex/match-simple/152 500s ok 167 /regex/match-simple/153 500s ok 168 /regex/match-simple/154 500s ok 169 /regex/match-simple/155 500s ok 170 /regex/match-simple/156 500s ok 171 /regex/match-simple/157 500s ok 172 /regex/match-simple/158 500s ok 173 /regex/match-simple/159 500s ok 174 /regex/match-simple/160 500s ok 175 /regex/match-simple/161 500s ok 176 /regex/match-simple/162 500s ok 177 /regex/match-simple/163 500s ok 178 /regex/match-simple/164 500s ok 179 /regex/match-simple/165 500s # End of match-simple tests 500s # Start of match-simple-optimized tests 500s ok 180 /regex/match-simple-optimized/93 500s ok 181 /regex/match-simple-optimized/94 500s ok 182 /regex/match-simple-optimized/95 500s ok 183 /regex/match-simple-optimized/96 500s ok 184 /regex/match-simple-optimized/97 500s ok 185 /regex/match-simple-optimized/98 500s ok 186 /regex/match-simple-optimized/99 500s ok 187 /regex/match-simple-optimized/100 500s ok 188 /regex/match-simple-optimized/101 500s ok 189 /regex/match-simple-optimized/102 500s ok 190 /regex/match-simple-optimized/103 500s ok 191 /regex/match-simple-optimized/104 500s ok 192 /regex/match-simple-optimized/105 500s ok 193 /regex/match-simple-optimized/106 500s ok 194 /regex/match-simple-optimized/107 500s ok 195 /regex/match-simple-optimized/108 500s ok 196 /regex/match-simple-optimized/109 500s ok 197 /regex/match-simple-optimized/110 500s ok 198 /regex/match-simple-optimized/111 500s ok 199 /regex/match-simple-optimized/112 500s ok 200 /regex/match-simple-optimized/113 500s ok 201 /regex/match-simple-optimized/114 500s ok 202 /regex/match-simple-optimized/115 500s ok 203 /regex/match-simple-optimized/116 500s ok 204 /regex/match-simple-optimized/117 500s ok 205 /regex/match-simple-optimized/118 500s ok 206 /regex/match-simple-optimized/119 500s ok 207 /regex/match-simple-optimized/120 500s ok 208 /regex/match-simple-optimized/121 500s ok 209 /regex/match-simple-optimized/122 500s ok 210 /regex/match-simple-optimized/123 500s ok 211 /regex/match-simple-optimized/124 500s ok 212 /regex/match-simple-optimized/125 500s ok 213 /regex/match-simple-optimized/126 500s ok 214 /regex/match-simple-optimized/127 500s ok 215 /regex/match-simple-optimized/128 500s ok 216 /regex/match-simple-optimized/129 500s ok 217 /regex/match-simple-optimized/130 500s ok 218 /regex/match-simple-optimized/131 500s ok 219 /regex/match-simple-optimized/132 500s ok 220 /regex/match-simple-optimized/133 500s ok 221 /regex/match-simple-optimized/134 500s ok 222 /regex/match-simple-optimized/135 500s ok 223 /regex/match-simple-optimized/136 500s ok 224 /regex/match-simple-optimized/137 500s ok 225 /regex/match-simple-optimized/138 500s ok 226 /regex/match-simple-optimized/139 500s ok 227 /regex/match-simple-optimized/140 500s ok 228 /regex/match-simple-optimized/141 500s ok 229 /regex/match-simple-optimized/142 500s ok 230 /regex/match-simple-optimized/143 500s ok 231 /regex/match-simple-optimized/144 500s ok 232 /regex/match-simple-optimized/145 500s ok 233 /regex/match-simple-optimized/146 500s ok 234 /regex/match-simple-optimized/147 500s ok 235 /regex/match-simple-optimized/148 500s ok 236 /regex/match-simple-optimized/149 500s ok 237 /regex/match-simple-optimized/150 500s ok 238 /regex/match-simple-optimized/151 500s ok 239 /regex/match-simple-optimized/152 500s ok 240 /regex/match-simple-optimized/153 500s ok 241 /regex/match-simple-optimized/154 500s ok 242 /regex/match-simple-optimized/155 500s ok 243 /regex/match-simple-optimized/156 500s ok 244 /regex/match-simple-optimized/157 500s ok 245 /regex/match-simple-optimized/158 500s ok 246 /regex/match-simple-optimized/159 500s ok 247 /regex/match-simple-optimized/160 500s ok 248 /regex/match-simple-optimized/161 500s ok 249 /regex/match-simple-optimized/162 500s ok 250 /regex/match-simple-optimized/163 500s ok 251 /regex/match-simple-optimized/164 500s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 500s ok 252 /regex/match-simple-optimized/165 500s # End of match-simple-optimized tests 500s # Start of match tests 500s ok 253 /regex/match/166 500s ok 254 /regex/match/167 500s ok 255 /regex/match/168 500s ok 256 /regex/match/169 500s ok 257 /regex/match/170 500s ok 258 /regex/match/171 500s ok 259 /regex/match/172 500s ok 260 /regex/match/173 500s ok 261 /regex/match/174 500s ok 262 /regex/match/175 500s ok 263 /regex/match/176 500s ok 264 /regex/match/177 500s ok 265 /regex/match/178 500s ok 266 /regex/match/179 500s ok 267 /regex/match/180 500s ok 268 /regex/match/181 500s ok 269 /regex/match/182 500s ok 270 /regex/match/183 500s ok 271 /regex/match/184 500s ok 272 /regex/match/185 500s ok 273 /regex/match/186 500s ok 274 /regex/match/187 500s ok 275 /regex/match/188 500s ok 276 /regex/match/189 500s ok 277 /regex/match/190 500s ok 278 /regex/match/191 500s ok 279 /regex/match/192 500s ok 280 /regex/match/193 500s ok 281 /regex/match/194 500s ok 282 /regex/match/195 500s ok 283 /regex/match/196 500s ok 284 /regex/match/197 500s ok 285 /regex/match/198 500s ok 286 /regex/match/199 500s ok 287 /regex/match/200 500s ok 288 /regex/match/201 500s ok 289 /regex/match/202 500s ok 290 /regex/match/203 500s ok 291 /regex/match/204 500s ok 292 /regex/match/205 500s ok 293 /regex/match/206 500s ok 294 /regex/match/207 500s ok 295 /regex/match/208 500s ok 296 /regex/match/209 500s ok 297 /regex/match/210 500s ok 298 /regex/match/211 500s ok 299 /regex/match/212 500s ok 300 /regex/match/213 500s ok 301 /regex/match/214 500s ok 302 /regex/match/215 500s ok 303 /regex/match/216 500s ok 304 /regex/match/217 500s ok 305 /regex/match/218 500s ok 306 /regex/match/219 500s ok 307 /regex/match/220 500s ok 308 /regex/match/221 500s ok 309 /regex/match/222 500s ok 310 /regex/match/223 500s ok 311 /regex/match/224 500s ok 312 /regex/match/225 500s ok 313 /regex/match/226 500s ok 314 /regex/match/227 500s ok 315 /regex/match/228 500s ok 316 /regex/match/229 500s ok 317 /regex/match/230 500s ok 318 /regex/match/231 500s ok 319 /regex/match/232 500s ok 320 /regex/match/233 500s ok 321 /regex/match/234 500s ok 322 /regex/match/235 500s ok 323 /regex/match/236 500s ok 324 /regex/match/237 500s ok 325 /regex/match/238 500s ok 326 /regex/match/239 500s ok 327 /regex/match/240 500s ok 328 /regex/match/241 500s ok 329 /regex/match/242 500s ok 330 /regex/match/243 500s ok 331 /regex/match/244 500s ok 332 /regex/match/245 500s ok 333 /regex/match/246 500s ok 334 /regex/match/247 500s ok 335 /regex/match/partial282 500s ok 336 /regex/match/partial283 500s ok 337 /regex/match/partial284 500s ok 338 /regex/match/partial285 500s ok 339 /regex/match/partial286 500s ok 340 /regex/match/partial287 500s ok 341 /regex/match/partial288 500s ok 342 /regex/match/partial289 500s ok 343 /regex/match/partial290 500s ok 344 /regex/match/partial291 500s ok 345 /regex/match/partial292 500s ok 346 /regex/match/partial293 500s ok 347 /regex/match/partial294 500s ok 348 /regex/match/partial295 500s ok 349 /regex/match/partial296 500s ok 350 /regex/match/partial297 500s ok 351 /regex/match/partial298 500s ok 352 /regex/match/partial299 500s ok 353 /regex/match/partial300 500s ok 354 /regex/match/partial301 500s ok 355 /regex/match/partial302 500s ok 356 /regex/match/partial303 500s # Start of next0 tests 500s ok 357 /regex/match/next0/248 500s ok 358 /regex/match/next0/249 500s ok 359 /regex/match/next0/250 500s ok 360 /regex/match/next0/251 500s # End of next0 tests 500s # Start of next1 tests 500s ok 361 /regex/match/next1/252 500s ok 362 /regex/match/next1/253 500s ok 363 /regex/match/next1/254 500s ok 364 /regex/match/next1/255 500s ok 365 /regex/match/next1/256 500s # End of next1 tests 500s # Start of next2 tests 500s ok 366 /regex/match/next2/257 500s ok 367 /regex/match/next2/258 500s ok 368 /regex/match/next2/259 500s ok 369 /regex/match/next2/260 500s ok 370 /regex/match/next2/261 500s ok 371 /regex/match/next2/262 500s ok 372 /regex/match/next2/263 500s ok 373 /regex/match/next2/264 500s # End of next2 tests 500s # Start of next3 tests 500s ok 374 /regex/match/next3/265 500s ok 375 /regex/match/next3/266 500s ok 376 /regex/match/next3/267 500s ok 377 /regex/match/next3/268 500s ok 378 /regex/match/next3/269 500s ok 379 /regex/match/next3/270 500s # End of next3 tests 500s # Start of next4 tests 500s ok 380 /regex/match/next4/271 500s # End of next4 tests 500s # Start of count tests 500s ok 381 /regex/match/count/272 500s ok 382 /regex/match/count/273 500s ok 383 /regex/match/count/274 500s ok 384 /regex/match/count/275 500s ok 385 /regex/match/count/276 500s ok 386 /regex/match/count/277 500s ok 387 /regex/match/count/278 500s ok 388 /regex/match/count/279 500s ok 389 /regex/match/count/280 500s ok 390 /regex/match/count/281 500s # End of count tests 500s # Start of count-optimized tests 500s ok 391 /regex/match/count-optimized/272 500s ok 392 /regex/match/count-optimized/273 500s ok 393 /regex/match/count-optimized/274 500s ok 394 /regex/match/count-optimized/275 500s ok 395 /regex/match/count-optimized/276 500s ok 396 /regex/match/count-optimized/277 500s ok 397 /regex/match/count-optimized/278 500s ok 398 /regex/match/count-optimized/279 500s ok 399 /regex/match/count-optimized/280 500s ok 400 /regex/match/count-optimized/281 500s # End of count-optimized tests 500s # Start of partial-optimized tests 500s ok 401 /regex/match/partial-optimized/282 500s ok 402 /regex/match/partial-optimized/283 500s ok 403 /regex/match/partial-optimized/284 500s ok 404 /regex/match/partial-optimized/285 500s ok 405 /regex/match/partial-optimized/286 500s ok 406 /regex/match/partial-optimized/287 500s ok 407 /regex/match/partial-optimized/288 500s ok 408 /regex/match/partial-optimized/289 500s ok 409 /regex/match/partial-optimized/290 500s ok 410 /regex/match/partial-optimized/291 500s ok 411 /regex/match/partial-optimized/292 500s ok 412 /regex/match/partial-optimized/293 500s ok 413 /regex/match/partial-optimized/294 500s ok 414 /regex/match/partial-optimized/295 500s ok 415 /regex/match/partial-optimized/296 500s ok 416 /regex/match/partial-optimized/297 500s ok 417 /regex/match/partial-optimized/298 500s ok 418 /regex/match/partial-optimized/299 500s ok 419 /regex/match/partial-optimized/300 500s ok 420 /regex/match/partial-optimized/301 500s ok 421 /regex/match/partial-optimized/302 500s ok 422 /regex/match/partial-optimized/303 500s # End of partial-optimized tests 500s # Start of subpattern tests 500s ok 423 /regex/match/subpattern/304 500s ok 424 /regex/match/subpattern/305 500s ok 425 /regex/match/subpattern/306 500s ok 426 /regex/match/subpattern/307 500s ok 427 /regex/match/subpattern/308 500s ok 428 /regex/match/subpattern/309 500s ok 429 /regex/match/subpattern/310 500s ok 430 /regex/match/subpattern/311 500s ok 431 /regex/match/subpattern/312 500s ok 432 /regex/match/subpattern/313 500s ok 433 /regex/match/subpattern/314 500s ok 434 /regex/match/subpattern/315 500s ok 435 /regex/match/subpattern/316 500s # Start of named tests 500s # Start of dupnames tests 500s ok 436 /regex/match/subpattern/named/dupnames/326 500s ok 437 /regex/match/subpattern/named/dupnames/327 500s ok 438 /regex/match/subpattern/named/dupnames/328 500s ok 439 /regex/match/subpattern/named/dupnames/329 500s ok 440 /regex/match/subpattern/named/dupnames/330 500s # End of dupnames tests 500s # End of named tests 500s # End of subpattern tests 500s # Start of subpattern-optimized tests 500s ok 441 /regex/match/subpattern-optimized/304 500s ok 442 /regex/match/subpattern-optimized/305 500s ok 443 /regex/match/subpattern-optimized/306 500s ok 444 /regex/match/subpattern-optimized/307 500s ok 445 /regex/match/subpattern-optimized/308 500s ok 446 /regex/match/subpattern-optimized/309 500s ok 447 /regex/match/subpattern-optimized/310 500s ok 448 /regex/match/subpattern-optimized/311 500s ok 449 /regex/match/subpattern-optimized/312 500s ok 450 /regex/match/subpattern-optimized/313 500s ok 451 /regex/match/subpattern-optimized/314 500s ok 452 /regex/match/subpattern-optimized/315 500s ok 453 /regex/match/subpattern-optimized/316 500s # End of subpattern-optimized tests 500s # Start of named tests 500s # Start of subpattern tests 500s ok 454 /regex/match/named/subpattern/317 500s ok 455 /regex/match/named/subpattern/318 500s ok 456 /regex/match/named/subpattern/319 500s ok 457 /regex/match/named/subpattern/320 500s ok 458 /regex/match/named/subpattern/321 500s ok 459 /regex/match/named/subpattern/322 500s ok 460 /regex/match/named/subpattern/323 500s ok 461 /regex/match/named/subpattern/324 500s ok 462 /regex/match/named/subpattern/325 500s ok 463 /regex/match/named/subpattern/331 500s ok 464 /regex/match/named/subpattern/332 500s ok 465 /regex/match/named/subpattern/333 500s ok 466 /regex/match/named/subpattern/334 500s ok 467 /regex/match/named/subpattern/335 500s # End of subpattern tests 500s # End of named tests 500s # End of match tests 500s # Start of match-optimized tests 500s ok 468 /regex/match-optimized/166 500s ok 469 /regex/match-optimized/167 500s ok 470 /regex/match-optimized/168 500s ok 471 /regex/match-optimized/169 500s ok 472 /regex/match-optimized/170 500s ok 473 /regex/match-optimized/171 500s ok 474 /regex/match-optimized/172 500s ok 475 /regex/match-optimized/173 500s ok 476 /regex/match-optimized/174 500s ok 477 /regex/match-optimized/175 500s ok 478 /regex/match-optimized/176 500s ok 479 /regex/match-optimized/177 500s ok 480 /regex/match-optimized/178 500s ok 481 /regex/match-optimized/179 500s ok 482 /regex/match-optimized/180 500s ok 483 /regex/match-optimized/181 500s ok 484 /regex/match-optimized/182 500s ok 485 /regex/match-optimized/183 500s ok 486 /regex/match-optimized/184 500s ok 487 /regex/match-optimized/185 500s ok 488 /regex/match-optimized/186 500s ok 489 /regex/match-optimized/187 500s ok 490 /regex/match-optimized/188 500s ok 491 /regex/match-optimized/189 500s ok 492 /regex/match-optimized/190 500s ok 493 /regex/match-optimized/191 500s ok 494 /regex/match-optimized/192 500s ok 495 /regex/match-optimized/193 500s ok 496 /regex/match-optimized/194 500s ok 497 /regex/match-optimized/195 500s ok 498 /regex/match-optimized/196 500s ok 499 /regex/match-optimized/197 500s ok 500 /regex/match-optimized/198 500s ok 501 /regex/match-optimized/199 500s ok 502 /regex/match-optimized/200 500s ok 503 /regex/match-optimized/201 500s ok 504 /regex/match-optimized/202 500s ok 505 /regex/match-optimized/203 500s ok 506 /regex/match-optimized/204 500s ok 507 /regex/match-optimized/205 500s ok 508 /regex/match-optimized/206 500s ok 509 /regex/match-optimized/207 500s ok 510 /regex/match-optimized/208 500s ok 511 /regex/match-optimized/209 500s ok 512 /regex/match-optimized/210 500s ok 513 /regex/match-optimized/211 500s ok 514 /regex/match-optimized/212 500s ok 515 /regex/match-optimized/213 500s ok 516 /regex/match-optimized/214 500s ok 517 /regex/match-optimized/215 500s ok 518 /regex/match-optimized/216 500s ok 519 /regex/match-optimized/217 500s ok 520 /regex/match-optimized/218 500s ok 521 /regex/match-optimized/219 500s ok 522 /regex/match-optimized/220 500s ok 523 /regex/match-optimized/221 500s ok 524 /regex/match-optimized/222 500s ok 525 /regex/match-optimized/223 500s ok 526 /regex/match-optimized/224 500s ok 527 /regex/match-optimized/225 500s ok 528 /regex/match-optimized/226 500s ok 529 /regex/match-optimized/227 500s ok 530 /regex/match-optimized/228 500s ok 531 /regex/match-optimized/229 500s ok 532 /regex/match-optimized/230 500s ok 533 /regex/match-optimized/231 500s ok 534 /regex/match-optimized/232 500s ok 535 /regex/match-optimized/233 500s ok 536 /regex/match-optimized/234 500s ok 537 /regex/match-optimized/235 500s ok 538 /regex/match-optimized/236 500s ok 539 /regex/match-optimized/237 500s ok 540 /regex/match-optimized/238 500s ok 541 /regex/match-optimized/239 500s ok 542 /regex/match-optimized/240 500s ok 543 /regex/match-optimized/241 500s ok 544 /regex/match-optimized/242 500s ok 545 /regex/match-optimized/243 500s ok 546 /regex/match-optimized/244 500s ok 547 /regex/match-optimized/245 500s ok 548 /regex/match-optimized/246 500s ok 549 /regex/match-optimized/247 500s # End of match-optimized tests 500s # Start of fetch-all0 tests 500s ok 550 /regex/fetch-all0/336 500s ok 551 /regex/fetch-all0/337 500s # End of fetch-all0 tests 500s # Start of fetch-all1 tests 500s ok 552 /regex/fetch-all1/338 500s ok 553 /regex/fetch-all1/339 500s ok 554 /regex/fetch-all1/340 500s # End of fetch-all1 tests 500s # Start of fetch-all2 tests 500s ok 555 /regex/fetch-all2/341 500s ok 556 /regex/fetch-all2/342 500s ok 557 /regex/fetch-all2/343 500s # End of fetch-all2 tests 500s # Start of fetch-all3 tests 500s ok 558 /regex/fetch-all3/344 500s ok 559 /regex/fetch-all3/345 500s ok 560 /regex/fetch-all3/346 500s ok 561 /regex/fetch-all3/347 500s ok 562 /regex/fetch-all3/348 500s # End of fetch-all3 tests 500s # Start of split tests 500s # Start of simple0 tests 500s ok 563 /regex/split/simple0/349 500s ok 564 /regex/split/simple0/350 500s ok 565 /regex/split/simple0/365 500s ok 566 /regex/split/simple0/366 500s # End of simple0 tests 500s # Start of simple1 tests 500s ok 567 /regex/split/simple1/351 500s ok 568 /regex/split/simple1/352 500s # End of simple1 tests 500s # Start of simple2 tests 500s ok 569 /regex/split/simple2/353 500s ok 570 /regex/split/simple2/359 500s ok 571 /regex/split/simple2/361 500s # End of simple2 tests 500s # Start of simple3 tests 500s ok 572 /regex/split/simple3/354 500s ok 573 /regex/split/simple3/355 500s ok 574 /regex/split/simple3/356 500s ok 575 /regex/split/simple3/357 500s ok 576 /regex/split/simple3/358 500s ok 577 /regex/split/simple3/360 500s ok 578 /regex/split/simple3/362 500s ok 579 /regex/split/simple3/363 500s ok 580 /regex/split/simple3/364 500s # End of simple3 tests 500s # End of split tests 500s # Start of split0 tests 500s ok 581 /regex/split0/367 500s ok 582 /regex/split0/369 500s # End of split0 tests 500s # Start of full-split0 tests 500s ok 583 /regex/full-split0/368 500s ok 584 /regex/full-split0/370 500s ok 585 /regex/full-split0/371 500s ok 586 /regex/full-split0/372 500s ok 587 /regex/full-split0/373 500s # End of full-split0 tests 500s # Start of split1 tests 500s ok 588 /regex/split1/374 500s ok 589 /regex/split1/377 500s # End of split1 tests 500s # Start of full-split1 tests 500s ok 590 /regex/full-split1/375 500s ok 591 /regex/full-split1/376 500s ok 592 /regex/full-split1/378 500s ok 593 /regex/full-split1/379 500s ok 594 /regex/full-split1/405 500s # End of full-split1 tests 500s # Start of split2 tests 500s ok 595 /regex/split2/380 500s ok 596 /regex/split2/384 500s ok 597 /regex/split2/396 500s # End of split2 tests 500s # Start of full-split2 tests 500s ok 598 /regex/full-split2/381 500s ok 599 /regex/full-split2/382 500s ok 600 /regex/full-split2/383 500s ok 601 /regex/full-split2/385 500s ok 602 /regex/full-split2/397 500s ok 603 /regex/full-split2/400 500s ok 604 /regex/full-split2/406 500s # End of full-split2 tests 500s # Start of split3 tests 500s ok 605 /regex/split3/386 500s ok 606 /regex/split3/388 500s ok 607 /regex/split3/390 500s ok 608 /regex/split3/392 500s ok 609 /regex/split3/394 500s ok 610 /regex/split3/398 500s ok 611 /regex/split3/401 500s ok 612 /regex/split3/403 500s # End of split3 tests 500s # Start of full-split3 tests 500s ok 613 /regex/full-split3/387 500s ok 614 /regex/full-split3/389 500s ok 615 /regex/full-split3/391 500s ok 616 /regex/full-split3/393 500s ok 617 /regex/full-split3/395 500s ok 618 /regex/full-split3/399 500s ok 619 /regex/full-split3/402 500s ok 620 /regex/full-split3/404 500s ok 621 /regex/full-split3/407 500s ok 622 /regex/full-split3/408 500s # End of full-split3 tests 500s # Start of check-repacement tests 500s ok 623 /regex/check-repacement/409 500s ok 624 /regex/check-repacement/410 500s ok 625 /regex/check-repacement/411 500s ok 626 /regex/check-repacement/412 500s ok 627 /regex/check-repacement/413 500s ok 628 /regex/check-repacement/414 500s ok 629 /regex/check-repacement/415 500s ok 630 /regex/check-repacement/416 500s # End of check-repacement tests 500s # Start of expand tests 500s ok 631 /regex/expand/417 500s ok 632 /regex/expand/418 500s ok 633 /regex/expand/419 500s ok 634 /regex/expand/420 500s ok 635 /regex/expand/421 500s ok 636 /regex/expand/422 500s ok 637 /regex/expand/423 500s ok 638 /regex/expand/424 500s ok 639 /regex/expand/425 500s ok 640 /regex/expand/426 500s ok 641 /regex/expand/427 500s ok 642 /regex/expand/428 500s ok 643 /regex/expand/429 500s ok 644 /regex/expand/430 500s ok 645 /regex/expand/431 500s ok 646 /regex/expand/432 500s ok 647 /regex/expand/433 500s ok 648 /regex/expand/434 500s ok 649 /regex/expand/435 500s ok 650 /regex/expand/436 500s ok 651 /regex/expand/437 500s ok 652 /regex/expand/438 500s ok 653 /regex/expand/439 500s ok 654 /regex/expand/440 500s ok 655 /regex/expand/441 500s ok 656 /regex/expand/442 500s ok 657 /regex/expand/443 500s ok 658 /regex/expand/444 500s ok 659 /regex/expand/445 500s ok 660 /regex/expand/446 500s ok 661 /regex/expand/447 500s ok 662 /regex/expand/448 500s ok 663 /regex/expand/449 500s ok 664 /regex/expand/450 500s ok 665 /regex/expand/451 500s ok 666 /regex/expand/452 500s ok 667 /regex/expand/453 500s ok 668 /regex/expand/454 500s ok 669 /regex/expand/455 500s ok 670 /regex/expand/456 500s ok 671 /regex/expand/457 500s ok 672 /regex/expand/458 500s ok 673 /regex/expand/459 500s ok 674 /regex/expand/460 500s ok 675 /regex/expand/461 500s ok 676 /regex/expand/462 500s ok 677 /regex/expand/463 500s ok 678 /regex/expand/464 500s ok 679 /regex/expand/465 500s ok 680 /regex/expand/466 500s ok 681 /regex/expand/467 500s ok 682 /regex/expand/468 500s ok 683 /regex/expand/469 500s ok 684 /regex/expand/470 500s ok 685 /regex/expand/471 500s ok 686 /regex/expand/472 500s ok 687 /regex/expand/473 500s ok 688 /regex/expand/474 500s ok 689 /regex/expand/475 500s ok 690 /regex/expand/476 500s ok 691 /regex/expand/477 500s ok 692 /regex/expand/478 500s ok 693 /regex/expand/479 500s ok 694 /regex/expand/480 500s ok 695 /regex/expand/481 500s ok 696 /regex/expand/482 500s # End of expand tests 500s # Start of replace tests 500s ok 697 /regex/replace/483 500s ok 698 /regex/replace/484 500s ok 699 /regex/replace/485 500s ok 700 /regex/replace/486 500s ok 701 /regex/replace/487 500s ok 702 /regex/replace/488 500s ok 703 /regex/replace/489 500s ok 704 /regex/replace/490 500s ok 705 /regex/replace/491 500s ok 706 /regex/replace/492 500s ok 707 /regex/replace/493 500s ok 708 /regex/replace/494 500s ok 709 /regex/replace/495 500s ok 710 /regex/replace/496 500s ok 711 /regex/replace/497 500s ok 712 /regex/replace/498 500s ok 713 /regex/replace/499 500s ok 714 /regex/replace/500 500s ok 715 /regex/replace/501 500s ok 716 /regex/replace/502 500s ok 717 /regex/replace/503 500s ok 718 /regex/replace/504 500s ok 719 /regex/replace/505 500s ok 720 /regex/replace/506 500s ok 721 /regex/replace/507 500s ok 722 /regex/replace/508 500s ok 723 /regex/replace/509 500s ok 724 /regex/replace/510 500s # End of replace tests 500s # Start of replace-optimized tests 500s ok 725 /regex/replace-optimized/483 500s ok 726 /regex/replace-optimized/484 500s ok 727 /regex/replace-optimized/485 500s ok 728 /regex/replace-optimized/486 500s ok 729 /regex/replace-optimized/487 500s ok 730 /regex/replace-optimized/488 500s ok - glib/regex.test 500s # Running test: glib/dynamictests.test 500s ok 731 /regex/replace-optimized/489 500s ok 732 /regex/replace-optimized/490 500s ok 733 /regex/replace-optimized/491 500s ok 734 /regex/replace-optimized/492 500s ok 735 /regex/replace-optimized/493 500s ok 736 /regex/replace-optimized/494 500s ok 737 /regex/replace-optimized/495 500s ok 738 /regex/replace-optimized/496 500s ok 739 /regex/replace-optimized/497 500s ok 740 /regex/replace-optimized/498 500s ok 741 /regex/replace-optimized/499 500s ok 742 /regex/replace-optimized/500 500s ok 743 /regex/replace-optimized/501 500s ok 744 /regex/replace-optimized/502 500s ok 745 /regex/replace-optimized/503 500s ok 746 /regex/replace-optimized/504 500s ok 747 /regex/replace-optimized/505 500s ok 748 /regex/replace-optimized/506 500s ok 749 /regex/replace-optimized/507 500s ok 750 /regex/replace-optimized/508 500s ok 751 /regex/replace-optimized/509 500s ok 752 /regex/replace-optimized/510 500s # End of replace-optimized tests 500s # Start of replace-literally tests 500s ok 753 /regex/replace-literally/511 500s ok 754 /regex/replace-literally/512 500s ok 755 /regex/replace-literally/513 500s ok 756 /regex/replace-literally/514 500s ok 757 /regex/replace-literally/515 500s ok 758 /regex/replace-literally/516 500s ok 759 /regex/replace-literally/517 500s ok 760 /regex/replace-literally/518 500s ok 761 /regex/replace-literally/519 500s ok 762 /regex/replace-literally/520 500s ok 763 /regex/replace-literally/521 500s ok 764 /regex/replace-literally/522 500s ok 765 /regex/replace-literally/523 500s ok 766 /regex/replace-literally/524 500s ok 767 /regex/replace-literally/525 500s ok 768 /regex/replace-literally/526 500s ok 769 /regex/replace-literally/527 500s ok 770 /regex/replace-literally/528 500s ok 771 /regex/replace-literally/529 500s ok 772 /regex/replace-literally/530 500s # End of replace-literally tests 500s # Start of string-number tests 500s ok 773 /regex/string-number/531 500s ok 774 /regex/string-number/532 500s ok 775 /regex/string-number/533 500s ok 776 /regex/string-number/534 500s ok 777 /regex/string-number/535 500s ok 778 /regex/string-number/536 500s ok 779 /regex/string-number/537 500s ok 780 /regex/string-number/538 500s ok 781 /regex/string-number/539 500s ok 782 /regex/string-number/540 500s ok 783 /regex/string-number/541 500s ok 784 /regex/string-number/542 500s ok 785 /regex/string-number/543 500s ok 786 /regex/string-number/544 500s ok 787 /regex/string-number/545 500s # End of string-number tests 500s # Start of escape_nul tests 500s ok 788 /regex/escape_nul/546 500s ok 789 /regex/escape_nul/547 500s ok 790 /regex/escape_nul/548 500s ok 791 /regex/escape_nul/549 500s ok 792 /regex/escape_nul/550 500s ok 793 /regex/escape_nul/551 500s ok 794 /regex/escape_nul/552 500s ok 795 /regex/escape_nul/553 500s ok 796 /regex/escape_nul/554 500s ok 797 /regex/escape_nul/555 500s ok 798 /regex/escape_nul/556 500s ok 799 /regex/escape_nul/557 500s ok 800 /regex/escape_nul/558 500s ok 801 /regex/escape_nul/559 500s ok 802 /regex/escape_nul/560 500s # End of escape_nul tests 500s # Start of escape tests 500s ok 803 /regex/escape/561 500s ok 804 /regex/escape/562 500s ok 805 /regex/escape/563 500s ok 806 /regex/escape/564 500s ok 807 /regex/escape/565 500s ok 808 /regex/escape/566 500s ok 809 /regex/escape/567 500s ok 810 /regex/escape/568 500s ok 811 /regex/escape/569 500s ok 812 /regex/escape/570 500s ok 813 /regex/escape/571 500s ok 814 /regex/escape/572 500s ok 815 /regex/escape/573 500s ok 816 /regex/escape/574 500s ok 817 /regex/escape/575 500s ok 818 /regex/escape/576 500s ok 819 /regex/escape/577 500s ok 820 /regex/escape/578 500s # End of escape tests 500s # Start of match-all0 tests 500s ok 821 /regex/match-all0/579 500s ok 822 /regex/match-all0/581 500s # End of match-all0 tests 500s # Start of match-all-full0 tests 500s ok 823 /regex/match-all-full0/580 500s ok 824 /regex/match-all-full0/582 500s ok 825 /regex/match-all-full0/583 500s ok 826 /regex/match-all-full0/584 500s # End of match-all-full0 tests 500s # Start of match-all1 tests 500s ok 827 /regex/match-all1/585 500s ok 828 /regex/match-all1/587 500s ok 829 /regex/match-all1/592 500s # End of match-all1 tests 500s # Start of match-all-full1 tests 500s ok 830 /regex/match-all-full1/586 500s ok 831 /regex/match-all-full1/588 500s ok 832 /regex/match-all-full1/589 500s ok 833 /regex/match-all-full1/590 500s ok 834 /regex/match-all-full1/591 500s ok 835 /regex/match-all-full1/593 500s # End of match-all-full1 tests 500s # Start of match-all2 tests 500s ok 836 /regex/match-all2/594 500s ok 837 /regex/match-all2/596 500s ok 838 /regex/match-all2/598 500s # End of match-all2 tests 500s # Start of match-all-full2 tests 500s ok 839 /regex/match-all-full2/595 500s ok 840 /regex/match-all-full2/597 500s ok 841 /regex/match-all-full2/599 500s # End of match-all-full2 tests 500s # Start of match-all3 tests 500s ok 842 /regex/match-all3/600 500s ok 843 /regex/match-all3/602 500s # End of match-all3 tests 500s # Start of match-all-full3 tests 500s ok 844 /regex/match-all-full3/601 500s ok 845 /regex/match-all-full3/603 500s # End of match-all-full3 tests 500s # Start of match-notempty tests 500s ok 846 /regex/match-notempty/604 500s # End of match-notempty tests 500s # Start of match-notempty-optimized tests 500s ok 847 /regex/match-notempty-optimized/604 500s # End of match-notempty-optimized tests 500s # Start of match-notempty-atstart tests 500s ok 848 /regex/match-notempty-atstart/605 500s # End of match-notempty-atstart tests 500s # Start of match-notempty-atstart-optimized tests 500s ok 849 /regex/match-notempty-atstart-optimized/605 500s # End of match-notempty-atstart-optimized tests 500s # End of regex tests 500s TAP version 14 500s # random seed: R02Sdecb943f61f8b7974c4c56f378077091 500s 1..2 500s # Start of GObject tests 500s ok - glib/dynamictests.test 500s ok 1 /GObject/threaded-dynamic-ref-unref-init 500s ok 2 /GObject/dynamic-interface-properties 500s # End of GObject tests 500s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 500s TAP version 14 500s # random seed: R02S4e221b979aab0d95c3efd693c841838f 500s 1..8 500s # Start of gdbus tests 500s # Start of codegen tests 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/annotations/.dirs/runtime 500s ok 1 /gdbus/codegen/annotations 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/interface_stability/.dirs/runtime 500s ok 2 /gdbus/codegen/interface_stability 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/object-manager/.dirs/runtime 500s ok 3 /gdbus/codegen/object-manager 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/property-naming/.dirs/runtime 500s ok 4 /gdbus/codegen/property-naming 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/autocleanups/.dirs/runtime 500s ok 5 /gdbus/codegen/autocleanups 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/deprecations/.dirs/runtime 500s ok 6 /gdbus/codegen/deprecations 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 500s ok 7 /gdbus/codegen/standalone-interface-info 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_QSTPK3/gdbus/codegen/unix-fd-list/.dirs/runtime 500s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 500s ok 8 /gdbus/codegen/unix-fd-list 500s # End of codegen tests 500s # End of gdbus tests 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s ok - glib/gdbus-test-codegen-min-required-2-64.test 500s # Running test: glib/gvariant.test 500s TAP version 14 500s # random seed: R02S0a14a7f74ed3169a84dd71bfce386167 500s 1..69 500s # Start of gvariant tests 500s ok 1 /gvariant/type 500s ok 2 /gvariant/typeinfo 500s ok 3 /gvariant/string 500s ok 4 /gvariant/utf8 500s ok 5 /gvariant/utf8-new-strings 502s ok 6 /gvariant/containers 502s # slow test /gvariant/containers executed in 1.71 secs 502s ok 7 /gvariant/format-strings 502s ok 8 /gvariant/invalid-varargs 502s ok 9 /gvariant/varargs 502s ok 10 /gvariant/valist 502s ok 11 /gvariant/builder-memory 502s ok 12 /gvariant/hashing 502s ok 13 /gvariant/byteswap 503s # Executing: glib/gvariant.test 508s # Executing: glib/gvariant.test 512s ok 14 /gvariant/parser 512s # slow test /gvariant/parser executed in 9.63 secs 512s ok 15 /gvariant/parse-failures 512s ok 16 /gvariant/parse-positional 512s ok 17 /gvariant/floating 512s ok 18 /gvariant/bytestring 512s ok 19 /gvariant/lookup-value 512s ok 20 /gvariant/lookup 512s ok 21 /gvariant/compare 512s ok 22 /gvariant/equal 512s ok 23 /gvariant/fixed-array 512s ok 24 /gvariant/check-format-string 512s ok 25 /gvariant/checksum-basic 512s ok 26 /gvariant/checksum-nested 512s ok 27 /gvariant/gbytes 512s ok 28 /gvariant/print-context 512s ok 29 /gvariant/error-quark 512s ok 30 /gvariant/stack-builder-init 512s ok 31 /gvariant/stack-builder-init-static 512s ok 32 /gvariant/stack-builder-init-unset 512s ok 33 /gvariant/stack-dict-init 512s ok 34 /gvariant/unaligned-construction 512s # Start of type tests 512s # Start of string-scan tests 512s # Start of recursion tests 512s ok 35 /gvariant/type/string-scan/recursion/tuple 512s ok 36 /gvariant/type/string-scan/recursion/array 512s # End of recursion tests 512s # End of string-scan tests 512s # End of type tests 512s # Start of serialiser tests 512s ok 37 /gvariant/serialiser/maybe 512s ok 38 /gvariant/serialiser/array 512s ok 39 /gvariant/serialiser/tuple 512s ok 40 /gvariant/serialiser/variant 512s ok 41 /gvariant/serialiser/strings 513s # Executing: glib/gvariant.test 518s # Executing: glib/gvariant.test 519s ok 42 /gvariant/serialiser/byteswap 519s # slow test /gvariant/serialiser/byteswap executed in 7.14 secs 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 519s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 519s ok 43 /gvariant/serialiser/children 519s # Start of byteswap tests 519s ok 44 /gvariant/serialiser/byteswap/zero-sized 519s # End of byteswap tests 519s # Start of fuzz tests 520s ok 45 /gvariant/serialiser/fuzz/1% 520s # slow test /gvariant/serialiser/fuzz/1% executed in 0.84 secs 521s ok 46 /gvariant/serialiser/fuzz/5% 521s ok 47 /gvariant/serialiser/fuzz/9% 521s ok 48 /gvariant/serialiser/fuzz/13% 522s ok 49 /gvariant/serialiser/fuzz/17% 522s # slow test /gvariant/serialiser/fuzz/17% executed in 0.69 secs 522s # End of fuzz tests 522s # End of serialiser tests 522s # Start of utf8 tests 522s # Start of subprocess tests 522s # End of subprocess tests 522s # End of utf8 tests 522s # Start of varargs tests 522s # Start of subprocess tests 522s # End of subprocess tests 522s # End of varargs tests 522s # Start of byteswap tests 522s # /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. 522s ok 50 /gvariant/byteswap/non-normal-non-aligned 522s # End of byteswap tests 522s # Start of parser tests 522s ok 51 /gvariant/parser/integer-bounds 522s ok 52 /gvariant/parser/recursion 522s # Start of recursion tests 522s ok 53 /gvariant/parser/recursion/typedecls 522s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 522s # Text form 0: @mmmu 5 522s # Text form 1: @mmmas ['hello'] 522s # Text form 2: @mmmu just just nothing 522s # Text form 3: @mmmas just just nothing 522s # Text form 4: @mmmu just nothing 522s # Text form 5: @mmmas just nothing 522s # Text form 6: @mmmu nothing 522s # Text form 7: @mmmas nothing 522s ok 54 /gvariant/parser/recursion/maybes 522s # End of recursion tests 522s # End of parser tests 522s # Start of parse tests 522s # Start of subprocess tests 522s # End of subprocess tests 522s # End of parse tests 522s # Start of normal-checking tests 522s ok 55 /gvariant/normal-checking/tuples 522s ok 56 /gvariant/normal-checking/array-offsets 522s ok 57 /gvariant/normal-checking/array-offsets2 522s ok 58 /gvariant/normal-checking/tuple-offsets 522s ok 59 /gvariant/normal-checking/tuple-offsets2 522s ok 60 /gvariant/normal-checking/tuple-offsets3 522s ok 61 /gvariant/normal-checking/tuple-offsets4 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 522s ok 62 /gvariant/normal-checking/tuple-offsets5 522s ok 63 /gvariant/normal-checking/empty-object-path 522s # Start of array-offsets tests 522s ok 64 /gvariant/normal-checking/array-offsets/overlapped 522s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 522s # End of array-offsets tests 522s # Start of tuple-offsets tests 522s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 522s # End of tuple-offsets tests 522s # End of normal-checking tests 522s # Start of recursion-limits tests 522s ok 67 /gvariant/recursion-limits/variant-in-variant 522s ok 68 /gvariant/recursion-limits/array-in-variant 522s # End of recursion-limits tests 522s # End of gvariant tests 522s # Start of gvarianttype tests 522s ok 69 /gvarianttype/hash 522s # End of gvarianttype tests 522s ok - glib/gvariant.test 522s # Running test: glib/protocol.test 522s TAP version 14 522s # random seed: R02S44324469b46e10e284781995773279de 522s 1..9 522s # Start of glib tests 522s # Start of testing tests 522s # Start of protocol tests 522s ok 1 /glib/testing/protocol/debug 522s ok 2 /glib/testing/protocol/info 522s ok 3 /glib/testing/protocol/message 522s ok 4 /glib/testing/protocol/warning 522s ok 5 /glib/testing/protocol/critical 522s ok 6 /glib/testing/protocol/error 522s ok 7 /glib/testing/protocol/gtest-message 522s ok - glib/protocol.test 522s # Running test: glib/defaultiface.test 522s ok - glib/defaultiface.test 522s # Running test: glib/search-utils.test 522s ok 8 /glib/testing/protocol/test-message 522s ok 9 /glib/testing/protocol/test-error 522s # End of protocol tests 522s # End of testing tests 522s # End of glib tests 522s TAP version 14 522s # random seed: R02Sfc0cba3a3277f5ef928900f196ca0c38 522s 1..2 522s # Start of gobject tests 522s ok 1 /gobject/static-iface 522s ok 2 /gobject/dynamic-iface 522s # End of gobject tests 522s TAP version 14 522s # random seed: R02Sb2f67e7cee832c748cedd364cb109e50 522s # GLib-DEBUG: Current user locale: C.UTF-8 522s 1..6 522s # Start of search tests 522s # GLib-DEBUG: Started 522s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 522s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 522s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 522s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 522s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 522s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 522s ok 1 /search/basic 522s # GLib-DEBUG: Started 522s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 522s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 522s # GLib-DEBUG: 'ele' - 'élève' should match: OK 522s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 522s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 522s ok 2 /search/composed 522s # GLib-DEBUG: Started 522s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 522s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 522s ok 3 /search/decomposed 522s # GLib-DEBUG: Started 522s ok - glib/search-utils.test 522s # Running test: glib/appmonitor.test 522s ok - glib/appmonitor.test 522s # Running test: glib/properties-introspection.test 522s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 522s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 522s ok 4 /search/turkish 522s # GLib-DEBUG: Started 522s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 522s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 522s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 522s ok 5 /search/c_locale_unicode 522s # GLib-DEBUG: Started 522s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 522s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 522s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 522s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 522s ok 6 /search/multi_words 522s # End of search tests 522s TAP version 14 522s # random seed: R02Sd8f19faaa299a84001ab2ee6bf025ddd 522s 1..1 522s # Start of monitor tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/runtime 522s # Using data directory: /tmp/test_appmonitor_KL0BK3/monitor/app/.dirs/data 522s ok 1 /monitor/app 522s # End of monitor tests 522s TAP version 14 522s # random seed: R02Sece9b5c30bbeb546bbe6cd1798c8b3ee 522s 1..2 522s # Start of properties tests 522s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 522s ok 1 /properties/introspection 522s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 522s ok 2 /properties/collision 522s # End of properties tests 522s ok - glib/properties-introspection.test 522s # Running test: glib/gdbus-message.test 522s TAP version 14 522s # random seed: R02S3f70284622ec475ec648d7b87f532471 522s 1..3 522s # Start of gdbus tests 522s # Start of message tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_LU9BK3/gdbus/message/lock/.dirs/runtime 522s ok 1 /gdbus/message/lock 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_LU9BK3/gdbus/message/copy/.dirs/runtime 522s ok 2 /gdbus/message/copy 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_LU9BK3/gdbus/message/bytes-needed/.dirs/runtime 522s # Vector: 0 522s # Vector: 1 522s # Vector: 2 522s # Vector: 3 522s # Vector: 4 522s # Vector: 5 522s ok 3 /gdbus/message/bytes-needed 522s # End of message tests 522s # End of gdbus tests 522s ok - glib/gdbus-message.test 522s # Running test: glib/gdbus-test-codegen-old.test 522s TAP version 14 522s # random seed: R02Sd36421cba99be0bf3810051036c5813c 522s 1..8 522s # Start of gdbus tests 522s # Start of codegen tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/annotations/.dirs/runtime 522s ok 1 /gdbus/codegen/annotations 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/interface_stability/.dirs/runtime 522s ok 2 /gdbus/codegen/interface_stability 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/object-manager/.dirs/runtime 522s ok 3 /gdbus/codegen/object-manager 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/property-naming/.dirs/runtime 522s ok 4 /gdbus/codegen/property-naming 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/autocleanups/.dirs/runtime 522s ok 5 /gdbus/codegen/autocleanups 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/deprecations/.dirs/runtime 522s ok 6 /gdbus/codegen/deprecations 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 522s ok 7 /gdbus/codegen/standalone-interface-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_41DCK3/gdbus/codegen/unix-fd-list/.dirs/runtime 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 522s ok 8 /gdbus/codegen/unix-fd-list 522s # End of codegen tests 522s # End of gdbus tests 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok - glib/gdbus-test-codegen-old.test 522s # Running test: glib/mkenums.py.test 523s TAP version 13 523s ok 1 __main__.TestMkenums.test_available_in 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpffgxltao 523s # rspfile: False 523s # /tmp/tmpffgxltao/tmp89cnmcej.h: 523s # typedef enum { 523s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 523s # } GDBusServerFlags; 523s # 523s # /tmp/tmpffgxltao/tmpb8w40xba.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpffgxltao/tmpb8w40xba.template', '/tmp/tmpffgxltao/tmp89cnmcej.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpffgxltao/tmp89cnmcej.h 523s # basename: tmp89cnmcej.h 523s # enumeration-production 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-header 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-production 523s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 523s # valuenick: user 523s # valuenum: 4 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-tail 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 2 __main__.TestMkenums.test_comma_in_enum_value 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpqny67knw 523s # rspfile: False 523s # /tmp/tmpqny67knw/tmpaajv6vgd.h: 523s # typedef enum { 523s # ENUM_VALUE_WITH_COMMA = ',', 523s # } TestCommaEnum; 523s # 523s # /tmp/tmpqny67knw/tmpt2j6h7on.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqny67knw/tmpt2j6h7on.template', '/tmp/tmpqny67knw/tmpaajv6vgd.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpqny67knw/tmpaajv6vgd.h 523s # basename: tmpaajv6vgd.h 523s # enumeration-production 523s # EnumName: TestCommaEnum 523s # enum_name: test_comma_enum 523s # ENUMNAME: TEST_COMMA_ENUM 523s # ENUMSHORT: COMMA_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: TestCommaEnum 523s # enum_name: test_comma_enum 523s # ENUMNAME: TEST_COMMA_ENUM 523s # ENUMSHORT: COMMA_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE_WITH_COMMA 523s # valuenick: comma 523s # valuenum: 44 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: TestCommaEnum 523s # enum_name: test_comma_enum 523s # ENUMNAME: TEST_COMMA_ENUM 523s # ENUMSHORT: COMMA_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 3 __main__.TestMkenums.test_deprecated_in 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpml9knxdf 523s # rspfile: False 523s # /tmp/tmpml9knxdf/tmplvl2lhwt.h: 523s # typedef enum { 523s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 523s # } GDBusServerFlags; 523s # 523s # /tmp/tmpml9knxdf/tmpegkpisox.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpml9knxdf/tmpegkpisox.template', '/tmp/tmpml9knxdf/tmplvl2lhwt.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpml9knxdf/tmplvl2lhwt.h 523s # basename: tmplvl2lhwt.h 523s # enumeration-production 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-header 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-production 523s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 523s # valuenick: user 523s # valuenum: 4 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-tail 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 4 __main__.TestMkenums.test_deprecated_in_for 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp_9gfmp6v 523s # rspfile: False 523s # /tmp/tmp_9gfmp6v/tmpwz77_api.h: 523s # typedef enum { 523s # 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) 523s # } GDBusServerFlags; 523s # 523s # /tmp/tmp_9gfmp6v/tmpn6ljalzb.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_9gfmp6v/tmpn6ljalzb.template', '/tmp/tmp_9gfmp6v/tmpwz77_api.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmp_9gfmp6v/tmpwz77_api.h 523s # basename: tmpwz77_api.h 523s # enumeration-production 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-header 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-production 523s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 523s # valuenick: user 523s # valuenum: 4 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-tail 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 5 __main__.TestMkenums.test_empty_header 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp65ckbi_z 523s # rspfile: False 523s # /tmp/tmp65ckbi_z/tmpubeyks61.h: 523s # /tmp/tmp65ckbi_z/tmpfp31id_c.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp65ckbi_z/tmpfp31id_c.template', '/tmp/tmp65ckbi_z/tmpubeyks61.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 6 __main__.TestMkenums.test_empty_template 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpief7x59x 523s # rspfile: False 523s # /tmp/tmpief7x59x/tmp9129nz_2.template: 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpief7x59x/tmp9129nz_2.template'] 523s # Return code: 0 523s # Output: 523s # /* 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. */ 523s # 523s # 523s # /* Generated data ends here */ 523s # Error: 523s ok 7 __main__.TestMkenums.test_enum_name 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp2funedk8 523s # rspfile: False 523s # /tmp/tmp2funedk8/tmpn59n3zf4.h: 523s # typedef enum _SomeEnumIdentifier { 523s # ENUM_VALUE 523s # } SomeEnumIdentifier; 523s # 523s # /tmp/tmp2funedk8/tmpke2jv2sd.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2funedk8/tmpke2jv2sd.template', '/tmp/tmp2funedk8/tmpn59n3zf4.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmp2funedk8/tmpn59n3zf4.h 523s # basename: tmpn59n3zf4.h 523s # enumeration-production 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE 523s # valuenick: value 523s # valuenum: 0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 8 __main__.TestMkenums.test_enum_private_public 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp8dwehufb 523s # rspfile: False 523s # /tmp/tmp8dwehufb/tmpjgrk1hx0.h: 523s # typedef enum { 523s # ENUM_VALUE_PUBLIC1, 523s # /*< private >*/ 523s # ENUM_VALUE_PRIVATE, 523s # } SomeEnumA 523s # 523s # /tmp/tmp8dwehufb/tmppu4nnk7u.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8dwehufb/tmppu4nnk7u.template', '/tmp/tmp8dwehufb/tmpjgrk1hx0.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmp8dwehufb/tmpjgrk1hx0.h 523s # basename: tmpjgrk1hx0.h 523s # enumeration-production 523s # EnumName: SomeEnumA 523s # enum_name: some_enum_a 523s # ENUMNAME: SOME_ENUM_A 523s # ENUMSHORT: ENUM_A 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: SomeEnumA 523s # enum_name: some_enum_a 523s # ENUMNAME: SOME_ENUM_A 523s # ENUMSHORT: ENUM_A 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE_PUBLIC1 523s # valuenick: public1 523s # valuenum: 0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: SomeEnumA 523s # enum_name: some_enum_a 523s # ENUMNAME: SOME_ENUM_A 523s # ENUMSHORT: ENUM_A 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s # 523s # /tmp/tmp8dwehufb/tmpwn98oyxv.h: 523s # typedef enum { 523s # /*< private >*/ 523s # ENUM_VALUE_PRIVATE, 523s # /*< public >*/ 523s # ENUM_VALUE_PUBLIC2, 523s # } SomeEnumB; 523s # 523s # /tmp/tmp8dwehufb/tmp4ff4sz9_.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8dwehufb/tmp4ff4sz9_.template', '/tmp/tmp8dwehufb/tmpwn98oyxv.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmp8dwehufb/tmpwn98oyxv.h 523s # basename: tmpwn98oyxv.h 523s # enumeration-production 523s # EnumName: SomeEnumB 523s # enum_name: some_enum_b 523s # ENUMNAME: SOME_ENUM_B 523s # ENUMSHORT: ENUM_B 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: SomeEnumB 523s # enum_name: some_enum_b 523s # ENUMNAME: SOME_ENUM_B 523s # ENUMSHORT: ENUM_B 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE_PUBLIC2 523s # valuenick: public2 523s # valuenum: 1 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: SomeEnumB 523s # enum_name: some_enum_b 523s # ENUMNAME: SOME_ENUM_B 523s # ENUMSHORT: ENUM_B 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmph3wmrxci 523s # rspfile: False 523s # /tmp/tmph3wmrxci/tmpkut5i5qh.h: 523s # typedef enum { 523s # /*< private >*/ 523s # ENUM_VALUE_PRIVATE = 5, 523s # /*< public >*/ 523s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 523s # } TestSymbolicEnum; 523s # 523s # /tmp/tmph3wmrxci/tmpqa_31crq.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmph3wmrxci/tmpqa_31crq.template', '/tmp/tmph3wmrxci/tmpkut5i5qh.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmph3wmrxci/tmpkut5i5qh.h 523s # basename: tmpkut5i5qh.h 523s # enumeration-production 523s # EnumName: TestSymbolicEnum 523s # enum_name: test_symbolic_enum 523s # ENUMNAME: TEST_SYMBOLIC_ENUM 523s # ENUMSHORT: SYMBOLIC_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: TestSymbolicEnum 523s # enum_name: test_symbolic_enum 523s # ENUMNAME: TEST_SYMBOLIC_ENUM 523s # ENUMSHORT: SYMBOLIC_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE_PUBLIC 523s # valuenick: public 523s # valuenum: 7 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: TestSymbolicEnum 523s # enum_name: test_symbolic_enum 523s # ENUMNAME: TEST_SYMBOLIC_ENUM 523s # ENUMSHORT: SYMBOLIC_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpne6lgqou 523s # rspfile: False 523s # /tmp/tmpne6lgqou/tmpa0li9qol.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-tail ***/ 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpne6lgqou/tmpa0li9qol.template'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # filename: @filename@ 523s # basename: @basename@ 523s # file-tail 523s # filename: @filename@ 523s # basename: @basename@ 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s # WARNING: @filename@ used in file-header section. 523s # WARNING: @basename@ used in file-header section. 523s # WARNING: @filename@ used in file-tail section. 523s # WARNING: @basename@ used in file-tail section. 523s ok 11 __main__.TestMkenums.test_help 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp9y1h0dtl 523s # rspfile: False 523s # Running: ['/usr/bin/glib-mkenums', '--help'] 523s # Return code: 0 523s # Output: 523s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 523s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 523s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 523s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 523s # [--comments COMMENT_TMPL] [--template TEMPLATE] 523s # [--output OUTPUT] [--version] 523s # [args ...] 523s # 523s # positional arguments: 523s # args One or more input files, or a single argument 523s # @rspfile_path pointing to a file that contains the 523s # actual arguments 523s # 523s # options: 523s # -h, --help show this help message and exit 523s # --identifier-prefix IDPREFIX 523s # Identifier prefix 523s # --symbol-prefix SYMPREFIX 523s # Symbol prefix 523s # --fhead FHEAD Output file header 523s # --ftail FTAIL Output file footer 523s # --fprod FPROD Put out TEXT every time a new input file is being 523s # processed. 523s # --eprod EPROD Per enum text, produced prior to value iterations 523s # --vhead VHEAD Value header, produced before iterating over enum 523s # values 523s # --vprod VPROD Value text, produced for each enum value. 523s # --vtail VTAIL Value tail, produced after iterating over enum values 523s # --comments COMMENT_TMPL 523s # Comment structure 523s # --template TEMPLATE Template file 523s # --output OUTPUT 523s # --version, -v Print version information 523s # 523s # Production text substitutions: 523s # @EnumName@ PrefixTheXEnum 523s # @enum_name@ prefix_the_xenum 523s # @ENUMNAME@ PREFIX_THE_XENUM 523s # @ENUMSHORT@ THE_XENUM 523s # @ENUMPREFIX@ PREFIX 523s # @enumsince@ the user-provided since value given 523s # @VALUENAME@ PREFIX_THE_XVALUE 523s # @valuenick@ the-xvalue 523s # @valuenum@ the integer value (limited support, Since: 2.26) 523s # @type@ either enum or flags 523s # @Type@ either Enum or Flags 523s # @TYPE@ either ENUM or FLAGS 523s # @filename@ name of current input file 523s # @basename@ base name of the current input file (Since: 2.22) 523s # Error: 523s ok 12 __main__.TestMkenums.test_no_args 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpksih45kb 523s # rspfile: False 523s # Running: ['/usr/bin/glib-mkenums'] 523s # Return code: 0 523s # Output: 523s # /* 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. */ 523s # 523s # 523s # /* Generated data ends here */ 523s # Error: 523s ok 13 __main__.TestMkenums.test_no_headers 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpm_n0urom 523s # rspfile: False 523s # /tmp/tmpm_n0urom/tmp53843s3k.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpm_n0urom/tmp53843s3k.template'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 14 __main__.TestMkenums.test_no_nick 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpv5dp07qb 523s # rspfile: False 523s # /tmp/tmpv5dp07qb/tmp6_xne5gc.h: 523s # typedef enum { 523s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 523s # } GeglSamplerType; 523s # 523s # /tmp/tmpv5dp07qb/tmp_t4458es.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv5dp07qb/tmp_t4458es.template', '/tmp/tmpv5dp07qb/tmp6_xne5gc.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpv5dp07qb/tmp6_xne5gc.h 523s # basename: tmp6_xne5gc.h 523s # enumeration-production 523s # EnumName: GeglSamplerType 523s # enum_name: gegl_sampler_type 523s # ENUMNAME: GEGL_SAMPLER_TYPE 523s # ENUMSHORT: SAMPLER_TYPE 523s # ENUMPREFIX: GEGL 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: GeglSamplerType 523s # enum_name: gegl_sampler_type 523s # ENUMNAME: GEGL_SAMPLER_TYPE 523s # ENUMSHORT: SAMPLER_TYPE 523s # ENUMPREFIX: GEGL 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: GEGL_SAMPLER_NEAREST 523s # valuenick: nearest 523s # valuenum: 0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: GeglSamplerType 523s # enum_name: gegl_sampler_type 523s # ENUMNAME: GEGL_SAMPLER_TYPE 523s # ENUMSHORT: SAMPLER_TYPE 523s # ENUMPREFIX: GEGL 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 15 __main__.TestMkenums.test_non_utf8_encoding 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpno669iz6 523s # rspfile: False 523s # /tmp/tmpno669iz6/tmp3apkk4bw.h: 523s # /* Copyright © La Peña */ 523s # typedef enum { 523s # ENUM_VALUE 523s # } SomeEnumIdentifier; 523s # 523s # /tmp/tmpno669iz6/tmprfsoptgb.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpno669iz6/tmprfsoptgb.template', '/tmp/tmpno669iz6/tmp3apkk4bw.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpno669iz6/tmp3apkk4bw.h 523s # basename: tmp3apkk4bw.h 523s # enumeration-production 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE 523s # valuenick: value 523s # valuenum: 0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 523s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 523s ok 16 __main__.TestMkenums.test_reproducible 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpcwv9o6a6 523s # rspfile: False 523s # /tmp/tmpcwv9o6a6/tmp6rh3v84u.template: template 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcwv9o6a6/tmp6rh3v84u.template', '/tmp/tmpcwv9o6a6/tmp9tvjf1pw1.h', '/tmp/tmpcwv9o6a6/tmpwx8k6aqs2.h'] 523s # Return code: 0 523s # Output: 523s # /* 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. */ 523s # 523s # 523s # /* Generated data ends here */ 523s # Error: 523s # 523s # /tmp/tmpcwv9o6a6/tmpickd4j1i.template: template 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcwv9o6a6/tmpickd4j1i.template', '/tmp/tmpcwv9o6a6/tmpwx8k6aqs2.h', '/tmp/tmpcwv9o6a6/tmp9tvjf1pw1.h'] 523s # Return code: 0 523s # Output: 523s # /* 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. */ 523s # 523s # 523s # /* Generated data ends here */ 523s # Error: 523s # Executing: glib/mkenums.py.test 523s ok 17 __main__.TestMkenums.test_since 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpx0xhq8qk 523s # rspfile: False 523s # /tmp/tmpx0xhq8qk/tmp_mplr_lm.h: 523s # typedef enum { /*< since=1.0 >*/ 523s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 523s # } QmiWmsMessageProtocol; 523s # 523s # /tmp/tmpx0xhq8qk/tmp2nl619fc.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx0xhq8qk/tmp2nl619fc.template', '/tmp/tmpx0xhq8qk/tmp_mplr_lm.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpx0xhq8qk/tmp_mplr_lm.h 523s # basename: tmp_mplr_lm.h 523s # enumeration-production 523s # EnumName: QmiWmsMessageProtocol 523s # enum_name: qmi_wms_message_protocol 523s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 523s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 523s # ENUMPREFIX: QMI 523s # enumsince: 1.0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: QmiWmsMessageProtocol 523s # enum_name: qmi_wms_message_protocol 523s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 523s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 523s # ENUMPREFIX: QMI 523s # enumsince: 1.0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 523s # valuenick: cdma 523s # valuenum: 0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: QmiWmsMessageProtocol 523s # enum_name: qmi_wms_message_protocol 523s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 523s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 523s # ENUMPREFIX: QMI 523s # enumsince: 1.0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 18 __main__.TestMkenums.test_with_double_quotes 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp9lrqsyx1 523s # rspfile: False 523s # /tmp/tmp9lrqsyx1/tmpxnjvdaj6.h: 523s # typedef enum { 523s # FOO_VALUE /*< nick="eek, a comma" >*/ 523s # } Foo; 523s # 523s # /tmp/tmp9lrqsyx1/tmp85v1ge3n.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9lrqsyx1/tmp85v1ge3n.template', '/tmp/tmp9lrqsyx1/tmpxnjvdaj6.h'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmp9lrqsyx1/tmpxnjvdaj6.h 523s # basename: tmpxnjvdaj6.h 523s # enumeration-production 523s # EnumName: Foo 523s # enum_name: foo_ 523s # ENUMNAME: FOO_ 523s # ENUMSHORT: 523s # ENUMPREFIX: FOO 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: Foo 523s # enum_name: foo_ 523s # ENUMNAME: FOO_ 523s # ENUMSHORT: 523s # ENUMPREFIX: FOO 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: FOO_VALUE 523s # valuenick: eek, a comma 523s # valuenum: 0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: Foo 523s # enum_name: foo_ 523s # ENUMNAME: FOO_ 523s # ENUMSHORT: 523s # ENUMPREFIX: FOO 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 19 __main__.TestRspMkenums.test_available_in 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp1w513xhk 523s # rspfile: True 523s # /tmp/tmp1w513xhk/tmpeyjupz49.h: 523s # typedef enum { 523s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 523s # } GDBusServerFlags; 523s # 523s # /tmp/tmp1w513xhk/tmpab72_r8f.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Response file contains: --template /tmp/tmp1w513xhk/tmpab72_r8f.template /tmp/tmp1w513xhk/tmpeyjupz49.h 523s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1w513xhk/tmpbyzkjsui'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmp1w513xhk/tmpeyjupz49.h 523s # basename: tmpeyjupz49.h 523s # enumeration-production 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-header 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-production 523s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 523s # valuenick: user 523s # valuenum: 4 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-tail 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpi3vu5mn1 523s # rspfile: True 523s # /tmp/tmpi3vu5mn1/tmpt1nyr_rk.h: 523s # typedef enum { 523s # ENUM_VALUE_WITH_COMMA = ',', 523s # } TestCommaEnum; 523s # 523s # /tmp/tmpi3vu5mn1/tmpqw43bx6l.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Response file contains: --template /tmp/tmpi3vu5mn1/tmpqw43bx6l.template /tmp/tmpi3vu5mn1/tmpt1nyr_rk.h 523s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi3vu5mn1/tmp0gol3vba'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpi3vu5mn1/tmpt1nyr_rk.h 523s # basename: tmpt1nyr_rk.h 523s # enumeration-production 523s # EnumName: TestCommaEnum 523s # enum_name: test_comma_enum 523s # ENUMNAME: TEST_COMMA_ENUM 523s # ENUMSHORT: COMMA_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: TestCommaEnum 523s # enum_name: test_comma_enum 523s # ENUMNAME: TEST_COMMA_ENUM 523s # ENUMSHORT: COMMA_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE_WITH_COMMA 523s # valuenick: comma 523s # valuenum: 44 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: TestCommaEnum 523s # enum_name: test_comma_enum 523s # ENUMNAME: TEST_COMMA_ENUM 523s # ENUMSHORT: COMMA_ENUM 523s # ENUMPREFIX: TEST 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 21 __main__.TestRspMkenums.test_deprecated_in 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmprpy8c16b 523s # rspfile: True 523s # /tmp/tmprpy8c16b/tmp51bett_d.h: 523s # typedef enum { 523s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 523s # } GDBusServerFlags; 523s # 523s # /tmp/tmprpy8c16b/tmp5iedp8qb.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Response file contains: --template /tmp/tmprpy8c16b/tmp5iedp8qb.template /tmp/tmprpy8c16b/tmp51bett_d.h 523s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprpy8c16b/tmpnxroq9du'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmprpy8c16b/tmp51bett_d.h 523s # basename: tmp51bett_d.h 523s # enumeration-production 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-header 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-production 523s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 523s # valuenick: user 523s # valuenum: 4 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-tail 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpjk8tp12y 523s # rspfile: True 523s # /tmp/tmpjk8tp12y/tmp9uokh3kl.h: 523s # typedef enum { 523s # 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) 523s # } GDBusServerFlags; 523s # 523s # /tmp/tmpjk8tp12y/tmp_o2t_3n2.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Response file contains: --template /tmp/tmpjk8tp12y/tmp_o2t_3n2.template /tmp/tmpjk8tp12y/tmp9uokh3kl.h 523s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjk8tp12y/tmpyjngxr82'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpjk8tp12y/tmp9uokh3kl.h 523s # basename: tmp9uokh3kl.h 523s # enumeration-production 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-header 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-production 523s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 523s # valuenick: user 523s # valuenum: 4 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # value-tail 523s # EnumName: GDBusServerFlags 523s # enum_name: g_dbus_server_flags 523s # ENUMNAME: G_DBUS_SERVER_FLAGS 523s # ENUMSHORT: DBUS_SERVER_FLAGS 523s # ENUMPREFIX: G 523s # enumsince: 523s # type: flags 523s # Type: Flags 523s # TYPE: FLAGS 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 23 __main__.TestRspMkenums.test_empty_header 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp20znyut9 523s # rspfile: True 523s # /tmp/tmp20znyut9/tmp54f5tx8e.h: 523s # /tmp/tmp20znyut9/tmp5uzwhtw5.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Response file contains: --template /tmp/tmp20znyut9/tmp5uzwhtw5.template /tmp/tmp20znyut9/tmp54f5tx8e.h 523s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp20znyut9/tmpsw3_i_p8'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 523s ok 24 __main__.TestRspMkenums.test_empty_template 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmp0egnhrgy 523s # rspfile: True 523s # /tmp/tmp0egnhrgy/tmpqff_bs_e.template: 523s # Response file contains: --template /tmp/tmp0egnhrgy/tmpqff_bs_e.template 523s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0egnhrgy/tmpr1f44q7v'] 523s # Return code: 0 523s # Output: 523s # /* 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. */ 523s # 523s # 523s # /* Generated data ends here */ 523s # Error: 523s ok 25 __main__.TestRspMkenums.test_enum_name 523s # glib-mkenums: /usr/bin/glib-mkenums 523s # tmpdir: /tmp/tmpi21i2zei 523s # rspfile: True 523s # /tmp/tmpi21i2zei/tmp50r7xnsq.h: 523s # typedef enum _SomeEnumIdentifier { 523s # ENUM_VALUE 523s # } SomeEnumIdentifier; 523s # 523s # /tmp/tmpi21i2zei/tmp_5bwmb8k.template: 523s # /*** BEGIN file-header ***/ 523s # file-header 523s # /*** END file-header ***/ 523s # 523s # /*** BEGIN file-production ***/ 523s # file-production 523s # filename: @filename@ 523s # basename: @basename@ 523s # /*** END file-production ***/ 523s # 523s # /*** BEGIN enumeration-production ***/ 523s # enumeration-production 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END enumeration-production ***/ 523s # 523s # /*** BEGIN value-header ***/ 523s # value-header 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-header ***/ 523s # 523s # /*** BEGIN value-production ***/ 523s # value-production 523s # VALUENAME: @VALUENAME@ 523s # valuenick: @valuenick@ 523s # valuenum: @valuenum@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-production ***/ 523s # 523s # /*** BEGIN value-tail ***/ 523s # value-tail 523s # EnumName: @EnumName@ 523s # enum_name: @enum_name@ 523s # ENUMNAME: @ENUMNAME@ 523s # ENUMSHORT: @ENUMSHORT@ 523s # ENUMPREFIX: @ENUMPREFIX@ 523s # enumsince: @enumsince@ 523s # type: @type@ 523s # Type: @Type@ 523s # TYPE: @TYPE@ 523s # /*** END value-tail ***/ 523s # 523s # /*** BEGIN comment ***/ 523s # comment 523s # comment: @comment@ 523s # /*** END comment ***/ 523s # 523s # /*** BEGIN file-tail ***/ 523s # file-tail 523s # /*** END file-tail ***/ 523s # 523s # Response file contains: --template /tmp/tmpi21i2zei/tmp_5bwmb8k.template /tmp/tmpi21i2zei/tmp50r7xnsq.h 523s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi21i2zei/tmpcfnvu8lv'] 523s # Return code: 0 523s # Output: 523s # comment 523s # 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. 523s # 523s # 523s # file-header 523s # file-production 523s # filename: /tmp/tmpi21i2zei/tmp50r7xnsq.h 523s # basename: tmp50r7xnsq.h 523s # enumeration-production 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-header 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-production 523s # VALUENAME: ENUM_VALUE 523s # valuenick: value 523s # valuenum: 0 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # value-tail 523s # EnumName: SomeEnumIdentifier 523s # enum_name: some_enum_identifier 523s # ENUMNAME: SOME_ENUM_IDENTIFIER 523s # ENUMSHORT: ENUM_IDENTIFIER 523s # ENUMPREFIX: SOME 523s # enumsince: 523s # type: enum 523s # Type: Enum 523s # TYPE: ENUM 523s # file-tail 523s # 523s # comment 523s # comment: Generated data ends here 523s # Error: 524s ok 26 __main__.TestRspMkenums.test_enum_private_public 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmpt_pbn1oj 524s # rspfile: True 524s # /tmp/tmpt_pbn1oj/tmprki2ed5c.h: 524s # typedef enum { 524s # ENUM_VALUE_PUBLIC1, 524s # /*< private >*/ 524s # ENUM_VALUE_PRIVATE, 524s # } SomeEnumA 524s # 524s # /tmp/tmpt_pbn1oj/tmp7j6a8l6m.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmpt_pbn1oj/tmp7j6a8l6m.template /tmp/tmpt_pbn1oj/tmprki2ed5c.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt_pbn1oj/tmp5yk0eled'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-production 524s # filename: /tmp/tmpt_pbn1oj/tmprki2ed5c.h 524s # basename: tmprki2ed5c.h 524s # enumeration-production 524s # EnumName: SomeEnumA 524s # enum_name: some_enum_a 524s # ENUMNAME: SOME_ENUM_A 524s # ENUMSHORT: ENUM_A 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-header 524s # EnumName: SomeEnumA 524s # enum_name: some_enum_a 524s # ENUMNAME: SOME_ENUM_A 524s # ENUMSHORT: ENUM_A 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-production 524s # VALUENAME: ENUM_VALUE_PUBLIC1 524s # valuenick: public1 524s # valuenum: 0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-tail 524s # EnumName: SomeEnumA 524s # enum_name: some_enum_a 524s # ENUMNAME: SOME_ENUM_A 524s # ENUMSHORT: ENUM_A 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s # 524s # /tmp/tmpt_pbn1oj/tmpv2fylzkt.h: 524s # typedef enum { 524s # /*< private >*/ 524s # ENUM_VALUE_PRIVATE, 524s # /*< public >*/ 524s # ENUM_VALUE_PUBLIC2, 524s # } SomeEnumB; 524s # 524s # /tmp/tmpt_pbn1oj/tmpj1gcmby2.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmpt_pbn1oj/tmpj1gcmby2.template /tmp/tmpt_pbn1oj/tmpv2fylzkt.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt_pbn1oj/tmp1nb2seoy'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-production 524s # filename: /tmp/tmpt_pbn1oj/tmpv2fylzkt.h 524s # basename: tmpv2fylzkt.h 524s # enumeration-production 524s # EnumName: SomeEnumB 524s # enum_name: some_enum_b 524s # ENUMNAME: SOME_ENUM_B 524s # ENUMSHORT: ENUM_B 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-header 524s # EnumName: SomeEnumB 524s # enum_name: some_enum_b 524s # ENUMNAME: SOME_ENUM_B 524s # ENUMSHORT: ENUM_B 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-production 524s # VALUENAME: ENUM_VALUE_PUBLIC2 524s # valuenick: public2 524s # valuenum: 1 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-tail 524s # EnumName: SomeEnumB 524s # enum_name: some_enum_b 524s # ENUMNAME: SOME_ENUM_B 524s # ENUMSHORT: ENUM_B 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmpx99nu7yp 524s # rspfile: True 524s # /tmp/tmpx99nu7yp/tmpwerj2ibt.h: 524s # typedef enum { 524s # /*< private >*/ 524s # ENUM_VALUE_PRIVATE = 5, 524s # /*< public >*/ 524s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 524s # } TestSymbolicEnum; 524s # 524s # /tmp/tmpx99nu7yp/tmpmidm2yob.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmpx99nu7yp/tmpmidm2yob.template /tmp/tmpx99nu7yp/tmpwerj2ibt.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx99nu7yp/tmp9xz8ndoi'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-production 524s # filename: /tmp/tmpx99nu7yp/tmpwerj2ibt.h 524s # basename: tmpwerj2ibt.h 524s # enumeration-production 524s # EnumName: TestSymbolicEnum 524s # enum_name: test_symbolic_enum 524s # ENUMNAME: TEST_SYMBOLIC_ENUM 524s # ENUMSHORT: SYMBOLIC_ENUM 524s # ENUMPREFIX: TEST 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-header 524s # EnumName: TestSymbolicEnum 524s # enum_name: test_symbolic_enum 524s # ENUMNAME: TEST_SYMBOLIC_ENUM 524s # ENUMSHORT: SYMBOLIC_ENUM 524s # ENUMPREFIX: TEST 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-production 524s # VALUENAME: ENUM_VALUE_PUBLIC 524s # valuenick: public 524s # valuenum: 7 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-tail 524s # EnumName: TestSymbolicEnum 524s # enum_name: test_symbolic_enum 524s # ENUMNAME: TEST_SYMBOLIC_ENUM 524s # ENUMSHORT: SYMBOLIC_ENUM 524s # ENUMPREFIX: TEST 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmp93a1cofv 524s # rspfile: True 524s # /tmp/tmp93a1cofv/tmpo7z67kfu.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-tail ***/ 524s # Response file contains: --template /tmp/tmp93a1cofv/tmpo7z67kfu.template 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp93a1cofv/tmphc_y30d0'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # filename: @filename@ 524s # basename: @basename@ 524s # file-tail 524s # filename: @filename@ 524s # basename: @basename@ 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s # WARNING: @filename@ used in file-header section. 524s # WARNING: @basename@ used in file-header section. 524s # WARNING: @filename@ used in file-tail section. 524s # WARNING: @basename@ used in file-tail section. 524s ok 29 __main__.TestRspMkenums.test_help 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmptnfbi9x_ 524s # rspfile: True 524s # Response file contains: --help 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptnfbi9x_/tmpv5mb1kfb'] 524s # Return code: 0 524s # Output: 524s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 524s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 524s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 524s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 524s # [--comments COMMENT_TMPL] [--template TEMPLATE] 524s # [--output OUTPUT] [--version] 524s # [args ...] 524s # 524s # positional arguments: 524s # args One or more input files, or a single argument 524s # @rspfile_path pointing to a file that contains the 524s # actual arguments 524s # 524s # options: 524s # -h, --help show this help message and exit 524s # --identifier-prefix IDPREFIX 524s # Identifier prefix 524s # --symbol-prefix SYMPREFIX 524s # Symbol prefix 524s # --fhead FHEAD Output file header 524s # --ftail FTAIL Output file footer 524s # --fprod FPROD Put out TEXT every time a new input file is being 524s # processed. 524s # --eprod EPROD Per enum text, produced prior to value iterations 524s # --vhead VHEAD Value header, produced before iterating over enum 524s # values 524s # --vprod VPROD Value text, produced for each enum value. 524s # --vtail VTAIL Value tail, produced after iterating over enum values 524s # --comments COMMENT_TMPL 524s # Comment structure 524s # --template TEMPLATE Template file 524s # --output OUTPUT 524s # --version, -v Print version information 524s # 524s # Production text substitutions: 524s # @EnumName@ PrefixTheXEnum 524s # @enum_name@ prefix_the_xenum 524s # @ENUMNAME@ PREFIX_THE_XENUM 524s # @ENUMSHORT@ THE_XENUM 524s # @ENUMPREFIX@ PREFIX 524s # @enumsince@ the user-provided since value given 524s # @VALUENAME@ PREFIX_THE_XVALUE 524s # @valuenick@ the-xvalue 524s # @valuenum@ the integer value (limited support, Since: 2.26) 524s # @type@ either enum or flags 524s # @Type@ either Enum or Flags 524s # @TYPE@ either ENUM or FLAGS 524s # @filename@ name of current input file 524s # @basename@ base name of the current input file (Since: 2.22) 524s # Error: 524s ok 30 __main__.TestRspMkenums.test_no_args 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmp0mahnl8a 524s # rspfile: True 524s # Response file contains: 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0mahnl8a/tmpy2hhsvyc'] 524s # Return code: 0 524s # Output: 524s # /* 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. */ 524s # 524s # 524s # /* Generated data ends here */ 524s # Error: 524s ok 31 __main__.TestRspMkenums.test_no_headers 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmpan312v33 524s # rspfile: True 524s # /tmp/tmpan312v33/tmpnz3dc54f.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmpan312v33/tmpnz3dc54f.template 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpan312v33/tmpg9jk_etk'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s ok 32 __main__.TestRspMkenums.test_no_nick 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmplzxkmm07 524s # rspfile: True 524s # /tmp/tmplzxkmm07/tmpy4_pnh4m.h: 524s # typedef enum { 524s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 524s # } GeglSamplerType; 524s # 524s # /tmp/tmplzxkmm07/tmpjtyytj43.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmplzxkmm07/tmpjtyytj43.template /tmp/tmplzxkmm07/tmpy4_pnh4m.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplzxkmm07/tmpv5f2_n4h'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-production 524s # filename: /tmp/tmplzxkmm07/tmpy4_pnh4m.h 524s # basename: tmpy4_pnh4m.h 524s # enumeration-production 524s # EnumName: GeglSamplerType 524s # enum_name: gegl_sampler_type 524s # ENUMNAME: GEGL_SAMPLER_TYPE 524s # ENUMSHORT: SAMPLER_TYPE 524s # ENUMPREFIX: GEGL 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-header 524s # EnumName: GeglSamplerType 524s # enum_name: gegl_sampler_type 524s # ENUMNAME: GEGL_SAMPLER_TYPE 524s # ENUMSHORT: SAMPLER_TYPE 524s # ENUMPREFIX: GEGL 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-production 524s # VALUENAME: GEGL_SAMPLER_NEAREST 524s # valuenick: nearest 524s # valuenum: 0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-tail 524s # EnumName: GeglSamplerType 524s # enum_name: gegl_sampler_type 524s # ENUMNAME: GEGL_SAMPLER_TYPE 524s # ENUMSHORT: SAMPLER_TYPE 524s # ENUMPREFIX: GEGL 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmpc4iemge_ 524s # rspfile: True 524s # /tmp/tmpc4iemge_/tmpnqh8zfpy.h: 524s # /* Copyright © La Peña */ 524s # typedef enum { 524s # ENUM_VALUE 524s # } SomeEnumIdentifier; 524s # 524s # /tmp/tmpc4iemge_/tmpvbtsnuln.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmpc4iemge_/tmpvbtsnuln.template /tmp/tmpc4iemge_/tmpnqh8zfpy.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpc4iemge_/tmp0ean841z'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-production 524s # filename: /tmp/tmpc4iemge_/tmpnqh8zfpy.h 524s # basename: tmpnqh8zfpy.h 524s # enumeration-production 524s # EnumName: SomeEnumIdentifier 524s # enum_name: some_enum_identifier 524s # ENUMNAME: SOME_ENUM_IDENTIFIER 524s # ENUMSHORT: ENUM_IDENTIFIER 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-header 524s # EnumName: SomeEnumIdentifier 524s # enum_name: some_enum_identifier 524s # ENUMNAME: SOME_ENUM_IDENTIFIER 524s # ENUMSHORT: ENUM_IDENTIFIER 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-production 524s # VALUENAME: ENUM_VALUE 524s # valuenick: value 524s # valuenum: 0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-tail 524s # EnumName: SomeEnumIdentifier 524s # enum_name: some_enum_identifier 524s # ENUMNAME: SOME_ENUM_IDENTIFIER 524s # ENUMSHORT: ENUM_IDENTIFIER 524s # ENUMPREFIX: SOME 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 524s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 524s ok 34 __main__.TestRspMkenums.test_reproducible 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmpwaipq6h9 524s # rspfile: True 524s # /tmp/tmpwaipq6h9/tmp4er7yido.template: template 524s # Response file contains: --template /tmp/tmpwaipq6h9/tmp4er7yido.template /tmp/tmpwaipq6h9/tmpb3uocmze1.h /tmp/tmpwaipq6h9/tmpbkpkmsf52.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwaipq6h9/tmpih1hfqnx'] 524s # Return code: 0 524s # Output: 524s # /* 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. */ 524s # 524s # 524s # /* Generated data ends here */ 524s # Error: 524s # 524s # /tmp/tmpwaipq6h9/tmpkiltvcyg.template: template 524s # Response file contains: --template /tmp/tmpwaipq6h9/tmpkiltvcyg.template /tmp/tmpwaipq6h9/tmpbkpkmsf52.h /tmp/tmpwaipq6h9/tmpb3uocmze1.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwaipq6h9/tmpsfltujcd'] 524s # Return code: 0 524s # Output: 524s # /* 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. */ 524s # 524s # 524s # /* Generated data ends here */ 524s # Error: 524s ok 35 __main__.TestRspMkenums.test_since 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmpdt_dk2sq 524s # rspfile: True 524s # /tmp/tmpdt_dk2sq/tmpvbag9tu8.h: 524s # typedef enum { /*< since=1.0 >*/ 524s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 524s # } QmiWmsMessageProtocol; 524s # 524s # /tmp/tmpdt_dk2sq/tmp247u9opt.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmpdt_dk2sq/tmp247u9opt.template /tmp/tmpdt_dk2sq/tmpvbag9tu8.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdt_dk2sq/tmpv729y1zl'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-production 524s # filename: /tmp/tmpdt_dk2sq/tmpvbag9tu8.h 524s # basename: tmpvbag9tu8.h 524s # enumeration-production 524s # EnumName: QmiWmsMessageProtocol 524s # enum_name: qmi_wms_message_protocol 524s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 524s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 524s # ENUMPREFIX: QMI 524s # enumsince: 1.0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-header 524s # EnumName: QmiWmsMessageProtocol 524s # enum_name: qmi_wms_message_protocol 524s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 524s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 524s # ENUMPREFIX: QMI 524s # enumsince: 1.0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-production 524s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 524s # valuenick: cdma 524s # valuenum: 0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-tail 524s # EnumName: QmiWmsMessageProtocol 524s # enum_name: qmi_wms_message_protocol 524s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 524s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 524s # ENUMPREFIX: QMI 524s # enumsince: 1.0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s ok 36 __main__.TestRspMkenums.test_with_double_quotes 524s # glib-mkenums: /usr/bin/glib-mkenums 524s # tmpdir: /tmp/tmpayhqk85k 524s # rspfile: True 524s # /tmp/tmpayhqk85k/tmpl_cc8loh.h: 524s # typedef enum { 524s # FOO_VALUE /*< nick="eek, a comma" >*/ 524s # } Foo; 524s # 524s # /tmp/tmpayhqk85k/tmpq5zynjvb.template: 524s # /*** BEGIN file-header ***/ 524s # file-header 524s # /*** END file-header ***/ 524s # 524s # /*** BEGIN file-production ***/ 524s # file-production 524s # filename: @filename@ 524s # basename: @basename@ 524s # /*** END file-production ***/ 524s # 524s # /*** BEGIN enumeration-production ***/ 524s # enumeration-production 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END enumeration-production ***/ 524s # 524s # /*** BEGIN value-header ***/ 524s # value-header 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-header ***/ 524s # 524s # /*** BEGIN value-production ***/ 524s # value-production 524s # VALUENAME: @VALUENAME@ 524s # valuenick: @valuenick@ 524s # valuenum: @valuenum@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-production ***/ 524s # 524s # /*** BEGIN value-tail ***/ 524s # value-tail 524s # EnumName: @EnumName@ 524s # enum_name: @enum_name@ 524s # ENUMNAME: @ENUMNAME@ 524s # ENUMSHORT: @ENUMSHORT@ 524s # ENUMPREFIX: @ENUMPREFIX@ 524s # enumsince: @enumsince@ 524s # type: @type@ 524s # Type: @Type@ 524s # TYPE: @TYPE@ 524s # /*** END value-tail ***/ 524s # 524s # /*** BEGIN comment ***/ 524s # comment 524s # comment: @comment@ 524s # /*** END comment ***/ 524s # 524s # /*** BEGIN file-tail ***/ 524s # file-tail 524s # /*** END file-tail ***/ 524s # 524s # Response file contains: --template /tmp/tmpayhqk85k/tmpq5zynjvb.template /tmp/tmpayhqk85k/tmpl_cc8loh.h 524s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpayhqk85k/tmpe69s4m0m'] 524s # Return code: 0 524s # Output: 524s # comment 524s # 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. 524s # 524s # 524s # file-header 524s # file-production 524s # filename: /tmp/tmpayhqk85k/tmpl_cc8loh.h 524s # basename: tmpl_cc8loh.h 524s # enumeration-production 524s # EnumName: Foo 524s # enum_name: foo_ 524s # ENUMNAME: FOO_ 524s # ENUMSHORT: 524s # ENUMPREFIX: FOO 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-header 524s # EnumName: Foo 524s # enum_name: foo_ 524s # ENUMNAME: FOO_ 524s # ENUMSHORT: 524s # ENUMPREFIX: FOO 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-production 524s # VALUENAME: FOO_VALUE 524s # valuenick: eek, a comma 524s # valuenum: 0 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # value-tail 524s # EnumName: Foo 524s # enum_name: foo_ 524s # ENUMNAME: FOO_ 524s # ENUMSHORT: 524s # ENUMPREFIX: FOO 524s # enumsince: 524s # type: enum 524s # Type: Enum 524s # TYPE: ENUM 524s # file-tail 524s # 524s # comment 524s # comment: Generated data ends here 524s # Error: 524s 1..36 524s ok - glib/mkenums.py.test 524s # Running test: glib/gnotification.test 524s TAP version 14 524s # random seed: R02S53939bcf54ae9e80aa94dda8a410cb28 524s 1..2 524s # Start of gnotification tests 524s ok - glib/gnotification.test 524s # Running test: glib/g-file-info.test 524s ok 1 /gnotification/basic 524s ok 2 /gnotification/properties 524s # End of gnotification tests 524s cleaning up pid 2865 524s TAP version 14 524s # random seed: R02S7f75a09f7038d5f89a3bb378069e33d2 524s 1..6 524s # Start of g-file-info tests 524s ok 1 /g-file-info/test_g_file_info 524s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 524s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 524s ok 2 /g-file-info/xattrs 524s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 524s ok 3 /g-file-info/set-modified-date-time-precision 524s # Start of test_g_file_info tests 524s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 524s ok 4 /g-file-info/test_g_file_info/modification-time 524s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 524s ok 5 /g-file-info/test_g_file_info/access-time 524s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 524s ok 6 /g-file-info/test_g_file_info/creation-time 524s # End of test_g_file_info tests 524s # End of g-file-info tests 524s ok - glib/g-file-info.test 524s # Running test: glib/socket-address.test 524s ok - glib/socket-address.test 524s # Running test: glib/scannerapi.test 524s TAP version 14 524s # random seed: R02Sf8547a45c2092538970f084ba61fbdb0 524s 1..2 524s # Start of socket tests 524s # Start of address tests 524s # Start of unix tests 524s ok 1 /socket/address/unix/construct 524s ok 2 /socket/address/unix/to-string 524s # End of unix tests 524s # End of address tests 524s # End of socket tests 524s TAP version 14 524s # random seed: R02S8cd55281c61ccb0aa06731a3b583b229 524s 1..8 524s # Start of scanner tests 524s ok 1 /scanner/warn 524s ok 2 /scanner/error 524s ok 3 /scanner/symbols 524s ok 4 /scanner/tokens 524s ok 5 /scanner/multiline-comment 524s ok 6 /scanner/int-to-float 524s ok - glib/scannerapi.test 524s ok 7 /scanner/fd-input 524s # Start of fd-input tests 524s ok 8 /scanner/fd-input/rewind 524s # End of fd-input tests 524s # End of scanner tests 524s # Running test: glib/uri.test 524s TAP version 14 524s # random seed: R02S01139d675acd8c80695e0981969945a4 524s 1..24 524s # Start of uri tests 524s ok 1 /uri/file-to-uri 524s ok 2 /uri/file-from-uri 524s ok 3 /uri/file-roundtrip 524s ok 4 /uri/list 524s # Test 0: %2Babc %4F 524s # Test 1: %2Babc %4F 524s # Test 2: %00abc %4F 524s # Test 3: /cursors/none.png 524s # Test 4: /cursors%2fbad-subdir/none.png 524s # Test 5: %0 524s # Test 6: %ra 524s # Test 7: %2r 524s # Test 8: Timm Bäder 524s # Test 9: (null) 524s ok 5 /uri/unescape-string 524s ok 6 /uri/unescape-segment 524s # Test 0: abcdefgABCDEFG._~ 524s # Test 1: :+ \\?# 524s # Test 2: a+b:c 524s # Test 3: a+b:c\303\234 524s # Test 4: \374;\322 524s # Test 5: \303\261\303( 524s ok 7 /uri/escape-string 524s ok 8 /uri/escape-bytes 524s ok 9 /uri/scheme 524s ok 10 /uri/build 524s ok 11 /uri/split 524s ok 12 /uri/is_valid 524s ok 13 /uri/to-string 524s ok 14 /uri/join 524s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 524s # Combination 0 524s # Combination 1 524s # Combination 2 524s # Combination 3 524s # Combination 4 524s # Combination 5 524s # Combination 6 524s # Combination 7 524s # Combination 8 524s # Combination 9 524s # Combination 10 524s # Combination 11 524s # Combination 12 524s # Combination 13 524s # Combination 14 524s # Combination 15 524s # Combination 16 524s # Combination 17 524s # Combination 18 524s # Combination 19 524s # Combination 20 524s # Combination 21 524s # Combination 22 524s # Combination 23 524s # Combination 24 524s # Combination 25 524s # Combination 26 524s # Combination 27 524s # Combination 28 524s # Combination 29 524s # Combination 30 524s # Combination 31 524s # Combination 32 524s # Combination 33 524s # Combination 34 524s # Combination 35 524s # Combination 36 524s # Combination 37 524s # Combination 38 524s # Combination 39 524s # Combination 40 524s # Combination 41 524s # Combination 42 524s # Combination 43 524s # Combination 44 524s # Combination 45 524s # Combination 46 524s # Combination 47 524s # Combination 48 524s # Combination 49 524s # Combination 50 524s # Combination 51 524s # Combination 52 524s # Combination 53 524s # Combination 54 524s # Combination 55 524s # Combination 56 524s # Combination 57 524s # Combination 58 524s # Combination 59 524s # Combination 60 524s # Combination 61 524s # Combination 62 524s # Combination 63 524s # Combination 64 524s # Combination 65 524s # Combination 66 524s # Combination 67 524s # Combination 68 524s # Combination 69 524s # Combination 70 524s # Combination 71 524s # Combination 72 524s # Combination 73 524s # Combination 74 524s # Combination 75 524s # Combination 76 524s # Combination 77 524s # Combination 78 524s # Combination 79 524s # Combination 80 524s # Combination 81 524s # Combination 82 524s # Combination 83 524s # Combination 84 524s # Combination 85 524s # Combination 86 524s # Combination 87 524s # Combination 88 524s # Combination 89 524s # Combination 90 524s # Combination 91 524s # Combination 92 524s # Combination 93 524s # Combination 94 524s # Combination 95 524s # Combination 96 524s # Combination 97 524s # Combination 98 524s # Combination 99 524s # Combination 100 524s # Combination 101 524s # Combination 102 524s # Combination 103 524s # Combination 104 524s # Combination 105 524s # Combination 106 524s # Combination 107 524s # Combination 108 524s # Combination 109 524s # Combination 110 524s # Combination 111 524s # Combination 112 524s # Combination 113 524s # Combination 114 524s # Combination 115 524s # Combination 116 524s # Combination 117 524s # Combination 118 524s # Combination 119 524s # Combination 120 524s # Combination 121 524s # Combination 122 524s # Combination 123 524s # Combination 124 524s # Combination 125 524s # Combination 126 524s # Combination 127 524s # Combination 128 524s # Combination 129 524s # Combination 130 524s # Combination 131 524s # Combination 132 524s # Combination 133 524s # Combination 134 524s # Combination 135 524s # Combination 136 524s # Combination 137 524s # Combination 138 524s # Combination 139 524s # Combination 140 524s # Combination 141 524s # Combination 142 524s # Combination 143 524s # Combination 144 524s # Combination 145 524s # Combination 146 524s # Combination 147 524s # Combination 148 524s # Combination 149 524s # Combination 150 524s # Combination 151 524s # Combination 152 524s # Combination 153 524s # Combination 154 524s # Combination 155 524s # Combination 156 524s # Combination 157 524s # Combination 158 524s # Combination 159 524s # Combination 160 524s # Combination 161 524s # Combination 162 524s # Combination 163 524s # Combination 164 524s # Combination 165 524s # Combination 166 524s # Combination 167 524s # Combination 168 524s # Combination 169 524s # Combination 170 524s # Combination 171 524s # Combination 172 524s # Combination 173 524s # Combination 174 524s # Combination 175 524s # Combination 176 524s # Combination 177 524s # Combination 178 524s # Combination 179 524s # Combination 180 524s # Combination 181 524s # Combination 182 524s # Combination 183 524s # Combination 184 524s # Combination 185 524s # Combination 186 524s # Combination 187 524s # Combination 188 524s # Combination 189 524s # Combination 190 524s # Combination 191 524s # Combination 192 524s # Combination 193 524s # Combination 194 524s # Combination 195 524s # Combination 196 524s # Combination 197 524s # Combination 198 524s # Combination 199 524s # Combination 200 524s # Combination 201 524s # Combination 202 524s # Combination 203 524s # Combination 204 524s # Combination 205 524s # Combination 206 524s # Combination 207 524s # Combination 208 524s # Combination 209 524s # Combination 210 524s # Combination 211 524s # Combination 212 524s # Combination 213 524s # Combination 214 524s # Combination 215 524s # Combination 216 524s # Combination 217 524s # Combination 218 524s # Combination 219 524s # Combination 220 524s # Combination 221 524s # Combination 222 524s # Combination 223 524s # Combination 224 524s # Combination 225 524s # Combination 226 524s # Combination 227 524s # Combination 228 524s # Combination 229 524s # Combination 230 524s # Combination 231 524s # Combination 232 524s # Combination 233 524s # Combination 234 524s # Combination 235 524s # Combination 236 524s # Combination 237 524s # Combination 238 524s # Combination 239 524s # Combination 240 524s # Combination 241 524s # Combination 242 524s # Combination 243 524s # Combination 244 524s # Combination 245 524s # Combination 246 524s # Combination 247 524s # Combination 248 524s # Combination 249 524s # Combination 250 524s # Combination 251 524s # Combination 252 524s # Combination 253 524s # Combination 254 524s # Combination 255 524s ok 15 /uri/join-split-round-trip 524s ok - glib/uri.test 524s ok 16 /uri/normalize 524s # Start of unescape-bytes tests 524s # Test 0: %00%00 524s # Test 1: /cursors/none.png 524s # Test 2: /cursors%2fbad-subdir/none.png 524s # Test 3: %% 524s # Test 4: % 524s ok 17 /uri/unescape-bytes/nul-terminated 524s # Test 0: %00%00 524s # Test 1: /cursors/none.png 524s # Test 2: /cursors%2fbad-subdir/none.png 524s # Test 3: %% 524s # Test 4: % 524s ok 18 /uri/unescape-bytes/length 524s # End of unescape-bytes tests 524s # Start of parsing tests 524s # Test 0: foo: 524s # Test 1: file:/dev/null 524s # Test 2: file:///dev/null 524s # Test 3: ftp://user@host/path 524s # Test 4: ftp://user@host:9999/path 524s # Test 5: ftp://user:password@host/path 524s # Test 6: ftp://user:password@host:9999/path 524s # Test 7: ftp://user:password@host 524s # Test 8: http://us%65r@host 524s # Test 9: http://us%40r@host 524s # Test 10: http://us%3ar@host 524s # Test 11: http://us%2fr@host 524s # Test 12: http://us%3fr@host 524s # Test 13: http://host?query 524s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 524s # 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 524s # Test 16: http://space/%20 524s # Test 17: http://delims/%3C%3E%23%25%22 524s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 524s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 524s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 524s # Test 21: http://[3ffe:2a00:100:7031::1] 524s # Test 22: http://[1080::8:800:200C:417A]/foo 524s # Test 23: http://[::192.9.5.5]/ipng 524s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 524s # Test 25: http://[2010:836B:4179::836B:4179] 524s # Test 26: http://host/path with spaces 524s # Test 27: http://host/path 524s # Test 28: http://host/path 524s # Test 29: http://host 524s # Test 30: http://host:999 524s # Test 31: http://host/pa 524s # th 524s # Test 32: http: 524s # //host/path 524s # Test 33: http:// host/path 524s # Test 34: http://host/path? 524s # Test 35: http://host/path# 524s # Test 36: http://host/path% 524s # Test 37: http://h%ost/path 524s # Test 38: http://host/path%% 524s # Test 39: http://host/path%%% 524s # Test 40: http://host/path%/x/ 524s # Test 41: http://host/path%0x/ 524s # Test 42: http://host/path%ax 524s # Test 43: http://host/päth/ 524s # Test 44: HTTP://////////////// 524s # Test 45: http://@host 524s # Test 46: http://:@host 524s # Test 47: scheme://foo%3Abar._webdav._tcp.local 524s # Test 48: http://example.com/.. 524s # Test 49: foo0://host/path 524s # Test 50: f0.o://host/path 524s # Test 51: http++://host/path 524s # Test 52: http-ish://host/path 524s # Test 53: http://[fe80::dead:beef%]/ 524s # Test 54: http://[fe80::dead:beef%em1]/ 524s # Test 55: http://[fe80::dead:beef%em1]/ 524s # Test 56: http://[fe80::dead:beef%25em1]/ 524s # Test 57: http://[fe80::dead:beef%25em1%20]/ 524s # Test 58: http://[fe80::dead:beef%25em%31]/ 524s # Test 59: http://[fe80::dead:beef%10]/ 524s # Test 60: http://[fe80::dead:beef%10]/ 524s # Test 61: http://[fe80::dead:beef%25]/ 524s # Test 62: http://[fe80::dead:beef%25]/ 524s # Test 63: http://[192.168.0.1%25em1]/ 524s # Test 64: http://[fe80::dead:beef%2em1]/ 524s # Test 65: http://[fe80::dead:beef%2em1]/ 524s # Test 66: http://[fe80::dead:beef%25em1%00]/ 524s # Test 67: http://[fe80::dead:beef%25em1%00]/ 524s # Test 68: http://xn--mixed-üp/ 524s # Test 69: data:./// 524s # Test 70: data:/.// 524s ok 19 /uri/parsing/absolute 524s ok 20 /uri/parsing/relative 524s # End of parsing tests 524s # Start of iter-params tests 524s # URI 0: p1=foo&p2=bar;p3=baz 524s # URI 1: p1=foo&p2=bar 524s # URI 2: p1=foo&&P1=bar 524s # URI 3: %00=foo 524s # URI 4: p1=%00 524s # URI 5: p1=foo&p1=bar 524s # URI 6: p1=foo&P1=bar 524s # URI 7: =% 524s # URI 8: = 524s # URI 9: foo 524s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 524s ok 21 /uri/iter-params/nul-terminated 524s # URI 0: p1=foo&p2=bar;p3=baz 524s # URI 1: p1=foo&p2=bar 524s # URI 2: p1=foo&&P1=bar 524s # URI 3: %00=foo 524s # URI 4: p1=%00 524s # URI 5: p1=foo&p1=bar 524s # URI 6: p1=foo&P1=bar 524s # URI 7: =% 524s # URI 8: = 524s # URI 9: foo 524s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 524s ok 22 /uri/iter-params/length 524s # End of iter-params tests 524s # Start of parse-params tests 524s # URI 0: p1=foo&p2=bar;p3=baz 524s # URI 1: p1=foo&p2=bar 524s # URI 2: p1=foo&&P1=bar 524s # URI 3: %00=foo 524s # URI 4: p1=%00 524s # URI 5: p1=foo&p1=bar 524s # URI 6: p1=foo&P1=bar 524s # URI 7: =% 524s # URI 8: = 524s # URI 9: foo 524s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 524s ok 23 /uri/parse-params/nul-terminated 524s # URI 0: p1=foo&p2=bar;p3=baz 524s # URI 1: p1=foo&p2=bar 524s # URI 2: p1=foo&&P1=bar 524s # URI 3: %00=foo 524s # URI 4: p1=%00 524s # URI 5: p1=foo&p1=bar 524s # URI 6: p1=foo&P1=bar 524s # URI 7: =% 524s # URI 8: = 524s # URI 9: foo 524s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 524s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 524s ok 24 /uri/parse-params/length 524s # End of parse-params tests 524s # End of uri tests 524s TAP version 14 524s # random seed: R02Sc12ed5e21c95be845ae39c60d9feb073 524s 1..2 524s # Start of io-channel tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_RDKGK3/io-channel/read-write/.dirs/runtime 524s # Running test: glib/io-channel.test 524s # Line one 524s # 524s # Line two 524s # 524s # Line three 524s # 524s # /* Hello */ 524s # 524s # \x1234\x567890\x6666 524s # 524s # read 62 bytes, wrote 62 bytes 524s ok - glib/io-channel.test 524s ok 1 /io-channel/read-write 524s # Start of read-line tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_RDKGK3/io-channel/read-line/embedded-nuls/.dirs/runtime 524s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 524s ok 2 /io-channel/read-line/embedded-nuls 524s # End of read-line tests 524s # End of io-channel tests 524s # Running test: glib/signals-refcount3.test 524s TAP version 14 524s # random seed: R02Sf3b1579f73ccb02cf1960947e814f13e 524s 1..1 524s # Start of gobject tests 524s # Start of refcount tests 524s # init 0x1b4a7f83d4a0 524s # 524s # init 0x1b4a7f835580 524s # 528s # Executing: glib/signals-refcount3.test 529s # dispose 0x1b4a7f83d4a0! 529s # 529s # dispose 0x1b4a7f835580! 529s # 529s ok 1 /gobject/refcount/signals 529s # slow test /gobject/refcount/signals executed in 5.00 secs 529s # End of refcount tests 529s # End of gobject tests 529s ok - glib/signals-refcount3.test 529s # Running test: glib/once.test 529s TAP version 14 529s # random seed: R02S002bad6f99082aa29d3393240d021cc8 529s 1..5 529s # Start of once tests 529s # /once/single-threaded summary: Test g_once() usage from a single thread 529s ok 1 /once/single-threaded 529s # /once/multi-threaded summary: Test g_once() usage from multiple threads 529s ok 2 /once/multi-threaded 529s # End of once tests 529s # Start of once-init tests 529s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 529s ok 3 /once-init/single-threaded 529s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 529s ok 4 /once-init/multi-threaded 529s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 529s ok - glib/once.test 529s # Running test: glib/srvtarget.test 529s ok 5 /once-init/string 529s # End of once-init tests 529s TAP version 14 529s # random seed: R02S2e553b0f9fc0bc878e61a2525af8c460 529s 1..1 529s # Start of srvtarget tests 530s ok 1 /srvtarget/srv-target-ordering 530s # slow test /srvtarget/srv-target-ordering executed in 0.77 secs 530s # End of srvtarget tests 530s ok - glib/srvtarget.test 530s # Running test: glib/enums.test 530s TAP version 14 530s # random seed: R02S5e0ebd25c3c3579cd31cc1da4cb3dcc5 530s 1..4 530s # Start of enum tests 530s ok 1 /enum/basic 530s ok 2 /enum/define-type 530s # End of enum tests 530s # Start of flags tests 530s ok 3 /flags/basic 530s ok 4 /flags/define-type 530s # End of flags tests 530s ok - glib/enums.test 530s # Running test: glib/642026.test 530s TAP version 14 530s # random seed: R02S696647b7059b0fb2e7ce6e7a390618be 530s 1..1 530s # Start of glib tests 530s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 530s ok - glib/642026.test 530s ok 1 /glib/642026 530s # End of glib tests 530s # Running test: glib/gsocketclient-slow.test 530s TAP version 14 530s # random seed: R02Sabf926da37d2a50d4ea18ea36645fe77 530s 1..4 530s # Start of socket-client tests 530s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 530s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 530s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1afd08a778e0 and GSocketClientAsyncConnectData 0x1afd08a72520 530s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 530s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 530s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1afd08a7b540 for GSocketClientAsyncConnectData 0x1afd08a72520 530s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 530s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 530s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 530s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 530s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 530s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 530s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1afd08a7b540 for GSocketClientAsyncConnectData 0x1afd08a72520 530s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 531s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 531s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 531s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 531s ok 1 /socket-client/connection-fail 531s # slow test /socket-client/connection-fail executed in 1.20 secs 531s # Start of happy-eyeballs tests 531s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1afd08a7a0d0 and GSocketClientAsyncConnectData 0x1afd08a7b070 531s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 531s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 531s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1afd08a7e340 for GSocketClientAsyncConnectData 0x1afd08a7b070 531s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s ok 2 /socket-client/happy-eyeballs/slow 532s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 532s # Start of cancellation tests 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1afd08a7ad50 and GSocketClientAsyncConnectData 0x1afd08a7e5e0 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 532s ok 3 /socket-client/happy-eyeballs/cancellation/instant 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1afd08a79ff0 and GSocketClientAsyncConnectData 0x1afd08a7df70 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1afd08a7eba0 for GSocketClientAsyncConnectData 0x1afd08a7df70 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 532s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 532s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 532s # End of cancellation tests 532s # End of happy-eyeballs tests 532s # End of socket-client tests 532s ok - glib/gsocketclient-slow.test 532s # Running test: glib/union-info.test 532s TAP version 14 532s # random seed: R02S3b868396c7ce256bfca4b205e37f5d4c 532s 1..2 532s # Start of union-info tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_Z8C9J3/union-info/basic/.dirs/runtime 532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 532s # /union-info/basic summary: Test basic properties of GIUnionInfo 532s ok 1 /union-info/basic 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_Z8C9J3/union-info/methods/.dirs/runtime 532s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 532s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 532s ok 2 /union-info/methods 532s # End of union-info tests 532s ok - glib/union-info.test 532s # Running test: glib/mem-overflow.test 532s TAP version 14 532s # random seed: R02S304220c5b0c71f140b7d54f71d56c51c 532s 1..2 532s # Start of mem tests 532s ok 1 /mem/overflow 532s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 532s ok 2 /mem/empty-alloc 532s # Start of overflow tests 532s # Start of subprocess tests 532s # End of subprocess tests 532s # End of overflow tests 532s # Start of empty-alloc tests 532s # End of empty-alloc tests 532s # End of mem tests 532s ok - glib/mem-overflow.test 532s # Running test: glib/markup-escape.test 532s TAP version 14 532s # random seed: R02S42868cee58be31673d36a9fe6cc22988 532s 1..41 532s # Start of markup tests 532s ok 1 /markup/format 532s # Start of escape-text tests 532s ok 2 /markup/escape-text/0 532s ok 3 /markup/escape-text/1 532s ok 4 /markup/escape-text/2 532s ok 5 /markup/escape-text/3 532s ok 6 /markup/escape-text/4 532s ok 7 /markup/escape-text/5 532s ok 8 /markup/escape-text/6 532s ok 9 /markup/escape-text/7 532s ok 10 /markup/escape-text/8 532s ok 11 /markup/escape-text/9 532s ok 12 /markup/escape-text/10 532s ok 13 /markup/escape-text/11 532s ok 14 /markup/escape-text/12 532s ok 15 /markup/escape-text/13 532s ok 16 /markup/escape-text/14 532s ok 17 /markup/escape-text/15 532s ok 18 /markup/escape-text/16 532s ok 19 /markup/escape-text/17 532s ok 20 /markup/escape-text/18 532s ok 21 /markup/escape-text/19 532s ok 22 /markup/escape-text/20 532s ok 23 /markup/escape-text/21 532s ok 24 /markup/escape-text/22 532s # End of escape-text tests 532s # Start of escape-unichar tests 532s ok 25 /markup/escape-unichar/0 532s ok 26 /markup/escape-unichar/1 532s ok 27 /markup/escape-unichar/2 532s ok 28 /markup/escape-unichar/3 532s ok 29 /markup/escape-unichar/4 532s ok 30 /markup/escape-unichar/5 532s ok 31 /markup/escape-unichar/6 532s ok 32 /markup/escape-unichar/7 532s ok 33 /markup/escape-unichar/8 532s ok 34 /markup/escape-unichar/9 532s ok 35 /markup/escape-unichar/10 532s ok 36 /markup/escape-unichar/11 532s ok 37 /markup/escape-unichar/12 532s ok 38 /markup/escape-unichar/13 532s ok 39 /markup/escape-unichar/14 532s ok 40 /markup/escape-unichar/15 532s ok 41 /markup/escape-unichar/16 532s # End of escape-unichar tests 532s # End of markup tests 532s ok - glib/markup-escape.test 532s # Running test: glib/gdbus-proxy-unique-name.test 532s TAP version 14 532s # random seed: R02S8468fa48ef39138a6133276124ea23c7 532s 1..1 532s # Start of gdbus tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_V3EAK3/gdbus/proxy-unique-name/.dirs/runtime 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s ok 1 /gdbus/proxy-unique-name 532s # End of gdbus tests 532s ok - glib/gdbus-proxy-unique-name.test 532s # Running test: glib/utils-isolated.test 532s TAP version 14 532s # random seed: R02S9c490db8598371408dff069c3f0ff59e 532s 1..11 532s # Start of utils-isolated tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/tmp-dir/.dirs/runtime 532s ok 1 /utils-isolated/tmp-dir 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/home-dir/.dirs/runtime 532s ok 2 /utils-isolated/home-dir 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/user-cache-dir/.dirs/runtime 532s ok 3 /utils-isolated/user-cache-dir 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/system-config-dirs/.dirs/runtime 532s ok 4 /utils-isolated/system-config-dirs 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/user-config-dir/.dirs/runtime 532s ok 5 /utils-isolated/user-config-dir 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/system-data-dirs/.dirs/runtime 532s ok 6 /utils-isolated/system-data-dirs 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/user-data-dir/.dirs/runtime 532s ok 7 /utils-isolated/user-data-dir 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/user-state-dir/.dirs/runtime 532s ok 8 /utils-isolated/user-state-dir 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/user-runtime-dir/.dirs/runtime 532s ok 9 /utils-isolated/user-runtime-dir 532s # Start of cleanup tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/runtime 532s Unable to clean up temporary directory /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 532s Unable to clean up temporary directory /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 532s Unable to clean up temporary directory /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/handles-errors: Directory not empty 532s ok 10 /utils-isolated/cleanup/handles-errors 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 532s ok - glib/utils-isolated.test 532s Unable to clean up temporary directory /tmp/test_utils-isolated_I437J3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 532s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 532s # End of cleanup tests 532s # End of utils-isolated tests 532s # Running test: glib/notify-init.test 532s TAP version 14 532s ok - glib/notify-init.test 532s # Running test: glib/inet-address.test 532s # random seed: R02Seaa908577eb33f2a35cecf256d75a97f 532s 1..1 532s # Start of properties tests 532s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 532s ok 1 /properties/notify-in-init 532s # End of properties tests 532s TAP version 14 532s # random seed: R02Sd7e578e2c4715da6dca71d5428d48329 532s 1..11 532s # Start of inet-address tests 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 532s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 532s ok 1 /inet-address/parse 532s ok 2 /inet-address/any 532s ok 3 /inet-address/loopback 532s ok 4 /inet-address/bytes 532s ok 5 /inet-address/property 532s # End of inet-address tests 532s # Start of socket-address tests 532s ok 6 /socket-address/basic 532s ok 7 /socket-address/to-string 532s ok - glib/inet-address.test 532s # Running test: glib/bindinggroup.test 532s ok - glib/bindinggroup.test 532s # Running test: glib/references.test 532s # End of socket-address tests 532s # Start of address-mask tests 532s ok 8 /address-mask/parse 532s ok 9 /address-mask/property 532s ok 10 /address-mask/equal 532s ok 11 /address-mask/match 532s # End of address-mask tests 532s TAP version 14 532s # random seed: R02S18eab0788772cd160a6f3268e4e595a4 532s 1..11 532s # Start of GObject tests 532s # Start of BindingGroup tests 532s ok 1 /GObject/BindingGroup/invalid 532s ok 2 /GObject/BindingGroup/default 532s ok 3 /GObject/BindingGroup/bidirectional 532s ok 4 /GObject/BindingGroup/transform 532s ok 5 /GObject/BindingGroup/transform-closures 532s ok 6 /GObject/BindingGroup/same-object 532s ok 7 /GObject/BindingGroup/weak-ref-source 532s ok 8 /GObject/BindingGroup/weak-ref-target 532s ok 9 /GObject/BindingGroup/properties 532s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 532s ok 11 /GObject/BindingGroup/empty-closures 532s # End of BindingGroup tests 532s # End of GObject tests 532s TAP version 14 532s # random seed: R02Sb26280875be50cdd1fe014a38cb38053 532s 1..4 532s # Start of gobject tests 532s ok 1 /gobject/references 532s ok 2 /gobject/references-many 532s ok 3 /gobject/references_two 532s ok - glib/references.test 532s ok 4 /gobject/references_run_dispose 532s # End of gobject tests 532s # Running test: glib/gi-compile-repository.py.test 532s TAP version 13 532s ok 1 __main__.TestGICompileRepository.test_open_failure 532s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 532s # gi-compile-repository: /usr/bin/gi-compile-repository 532s # tmpdir: /tmp/tmpuecv68h5 532s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpuecv68h5/invalid.typelib'] 532s # Return code: 1 532s # Output: 532s # 532s # Error: 532s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 533s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 533s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 533s # gi-compile-repository: /usr/bin/gi-compile-repository 533s # tmpdir: /tmp/tmpj975zk4x 533s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpj975zk4x/GLib-2.typelib'] 533s # Return code: 0 533s # Output: 533s # 533s # Error: 533s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 533s # gi-compile-repository: /usr/bin/gi-compile-repository 533s # tmpdir: /tmp/tmp6_v80nie 533s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 533s # Return code: 1 533s # Output: 533s # 533s # Error: 533s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 533s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 533s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 533s # gi-compile-repository: /usr/bin/gi-compile-repository 533s # tmpdir: /tmp/tmp__j6i158 533s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp__j6i158/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 533s # Return code: 0 533s # Output: 533s # 533s # Error: 533s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 533s # gi-compile-repository: /usr/bin/gi-compile-repository 533s # tmpdir: /tmp/tmpkqyk3owm 533s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 533s # Return code: 1 533s # Output: 533s # 533s # Error: 533s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 533s # Executing: glib/gi-compile-repository.py.test 534s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 534s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 534s # gi-compile-repository: /usr/bin/gi-compile-repository 534s # tmpdir: /tmp/tmpklevbbl7 534s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpklevbbl7/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 534s # Return code: 0 534s # Output: 534s # 534s # Error: 534s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 534s # gi-compile-repository: /usr/bin/gi-compile-repository 534s # tmpdir: /tmp/tmpnk52g4rj 534s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 534s # Return code: 1 534s # Output: 534s # 534s # Error: 534s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 534s 1..7 534s ok - glib/gi-compile-repository.py.test 534s # Running test: glib/unix-streams.test 534s TAP version 14 534s # random seed: R02S3fba5e2bdb39e7ae8b6ed4d808f58022 534s 1..9 534s # Start of unix-streams tests 534s ok 1 /unix-streams/basic 535s ok 2 /unix-streams/pipe-io-test 535s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 535s ok 3 /unix-streams/nonblocking-io-test 535s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 535s ok 4 /unix-streams/read_write 535s ok 5 /unix-streams/read_writev 535s ok 6 /unix-streams/write-wouldblock 535s ok 7 /unix-streams/writev-wouldblock 535s ok 8 /unix-streams/write-async-wouldblock 535s ok 9 /unix-streams/writev-async-wouldblock 535s # End of unix-streams tests 535s ok - glib/unix-streams.test 535s # Running test: glib/atomic-c-99.test 535s TAP version 14 535s # random seed: R02S3a360f97e33e6833d639f34cc108fb46 535s 1..2 535s # Start of atomic tests 535s ok 1 /atomic/types 535s ok 2 /atomic/threaded 535s # End of atomic tests 535s ok - glib/atomic-c-99.test 535s # Running test: glib/mappedfile.test 535s TAP version 14 535s # random seed: R02Sc893ae6b82616584e3b053c4ec3462c7 535s 1..7 535s # Start of mappedfile tests 535s ok 1 /mappedfile/basic 535s ok 2 /mappedfile/empty 535s ok 3 /mappedfile/device 535s ok 4 /mappedfile/nonexisting 535s ok 5 /mappedfile/writable 536s ok 6 /mappedfile/writable_fd 536s ok 7 /mappedfile/gbytes 536s # End of mappedfile tests 536s ok - glib/mappedfile.test 536s # Running test: glib/base64.test 536s TAP version 14 536s # random seed: R02S7527609fce9aadb0262946423d90405b 536s 1..28 536s # Start of base64 tests 536s ok 1 /base64/encode 536s ok 2 /base64/decode 536s ok 3 /base64/decode-inplace 536s ok 4 /base64/encode-decode 536s # Start of full tests 536s ok 5 /base64/full/1 536s ok 6 /base64/full/2 536s ok 7 /base64/full/3 536s ok 8 /base64/full/4 536s # End of full tests 536s # Start of encode tests 536s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 536s ok 9 /base64/encode/empty 536s # Start of incremental tests 536s # Start of small-block tests 536s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 536s ok 10 /base64/encode/incremental/small-block/1 536s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 536s ok 11 /base64/encode/incremental/small-block/2 536s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 536s ok 12 /base64/encode/incremental/small-block/3 536s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 536s ok 13 /base64/encode/incremental/small-block/4 536s # End of small-block tests 536s # End of incremental tests 536s # End of encode tests 536s # Start of incremental tests 536s # Start of nobreak tests 536s ok 14 /base64/incremental/nobreak/1 536s ok 15 /base64/incremental/nobreak/2 536s ok 16 /base64/incremental/nobreak/3 536s ok 17 /base64/incremental/nobreak/4-a 536s ok 18 /base64/incremental/nobreak/4-b 536s ok 19 /base64/incremental/nobreak/4-c 536s # End of nobreak tests 536s # Start of break tests 536s ok 20 /base64/incremental/break/1 536s ok 21 /base64/incremental/break/2 536s ok 22 /base64/incremental/break/3 536s # End of break tests 536s # Start of smallblock tests 536s ok 23 /base64/incremental/smallblock/1 536s ok 24 /base64/incremental/smallblock/2 536s ok 25 /base64/incremental/smallblock/3 536s ok 26 /base64/incremental/smallblock/4 536s # End of smallblock tests 536s # End of incremental tests 536s # Start of decode tests 536s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 536s ok 27 /base64/decode/empty 536s # End of decode tests 536s # Start of encode-decode tests 536s # Vector 0: 536s # Vector 1: f 536s # Vector 2: fo 536s # Vector 3: foo 536s # Vector 4: foob 536s # Vector 5: fooba 536s # Vector 6: foobar 536s ok 28 /base64/encode-decode/rfc4648 536s # End of encode-decode tests 536s # End of base64 tests 536s ok - glib/base64.test 536s TAP version 14 536s # Running test: glib/converter.test 536s # random seed: R02Sa54da4ad3a06b25ef2c55c6aec4ed38d 536s 1..3 536s # Start of converter tests 536s ok 1 /converter/bytes 536s ok 2 /converter/extra-bytes-at-end 536s ok 3 /converter/gzip-os-property 536s # End of converter tests 536s ok - glib/converter.test 536s # Running test: glib/memory-monitor-poll.test 536s TAP version 14 536s # random seed: R02S9d95e77f48cf9edb3615bad351234f6d 536s 1..4 536s # Start of memory-monitor-poll tests 536s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 536s ok 1 /memory-monitor-poll/dup-default 536s # GLib-GIO-DEBUG: memory free ratio 0.190000 536s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 536s ok 2 /memory-monitor-poll/critical-event 536s # GLib-GIO-DEBUG: memory free ratio 0.290000 536s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 536s ok 3 /memory-monitor-poll/medium-event 536s # GLib-GIO-DEBUG: memory free ratio 0.390000 536s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 536s ok 4 /memory-monitor-poll/low-event 536s # End of memory-monitor-poll tests 536s ok - glib/memory-monitor-poll.test 536s # Running test: glib/buffered-output-stream.test 536s ok - glib/buffered-output-stream.test 536s # Running test: glib/win32-appinfo.test 536s TAP version 14 536s # random seed: R02Sa5623a5f98b0fd70fb8e728db09e83e2 536s 1..5 536s # Start of buffered-output-stream tests 536s ok 1 /buffered-output-stream/write 536s ok 2 /buffered-output-stream/grow 536s ok 3 /buffered-output-stream/seek 536s ok 4 /buffered-output-stream/truncate 536s # End of buffered-output-stream tests 536s # Start of filter-output-stream tests 536s ok 5 /filter-output-stream/close 536s # End of filter-output-stream tests 536s TAP version 14 536s # random seed: R02S95832e1ebbd040aa64bf52107ae4d1c5 536s 1..5 536s # Start of appinfo tests 536s ok 1 /appinfo/utf16-strfuncs 536s ok 2 /appinfo/win32-extract-executable 536s ok 3 /appinfo/win32-rundll32-fixup 536s ok 4 /appinfo/win32-parse-filename 536s ok 5 /appinfo/win32-utf16-conversion-fail 536s # Start of subprocess tests 536s # End of subprocess tests 536s ok - glib/win32-appinfo.test 536s # End of appinfo tests 536s # Running test: glib/rand.test 536s TAP version 14 536s # random seed: R02S1481623cc91dad48902aa328f763f827 536s 1..2 536s # Start of rand tests 536s ok 1 /rand/test-rand 536s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 536s ok 2 /rand/double-range 536s # End of rand tests 536s ok - glib/rand.test 536s # Running test: glib/properties-refcount4.test 536s TAP version 14 536s # random seed: R02S51a96d7f3b78c39e438d7c41525e79b2 536s ok - glib/properties-refcount4.test 536s 1..1 536s # Start of gobject tests 536s # Start of refcount tests 536s ok 1 /gobject/refcount/properties-4 536s # End of refcount tests 536s # End of gobject tests 536s # Running test: glib/portal-support-flatpak-none.test 536s TAP version 14 536s # random seed: R02S261849803a8b117048cf1e62e02598ba 536s 1..1 536s # Start of portal-support tests 536s # Start of flatpak tests 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/runtime 536s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_5GBMK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 536s ok 1 /portal-support/flatpak/none 536s # End of flatpak tests 536s # End of portal-support tests 536s ok - glib/portal-support-flatpak-none.test 536s # Running test: glib/thread.test 536s TAP version 14 536s # random seed: R02Sd7f46b5981bc3e9ef84259ef6c1743f1 536s 1..7 536s # Start of thread tests 536s ok 1 /thread/thread1 536s ok 2 /thread/thread2 536s ok 3 /thread/thread3 536s ok 4 /thread/thread4 536s ok 5 /thread/thread5 536s ok 6 /thread/thread6 536s ok 7 /thread/thread7 536s # End of thread tests 536s ok - glib/thread.test 536s # Running test: glib/overflow.test 536s TAP version 14 536s # random seed: R02S2c0f5d2702358df3e9f8c7b40054b400 536s 1..6 536s # Start of glib tests 536s # Start of checked-math tests 536s ok 1 /glib/checked-math/guint-add 536s ok 2 /glib/checked-math/guint-mul 536s ok 3 /glib/checked-math/guint64-add 536s ok 4 /glib/checked-math/guint64-mul 536s ok 5 /glib/checked-math/gsize-add 536s ok 6 /glib/checked-math/gsize-mul 536s # End of checked-math tests 536s # End of glib tests 536s ok - glib/overflow.test 536s # Running test: glib/dir.test 536s TAP version 14 536s # random seed: R02Sc0f1f4769866439c7e45154e425cb5bd 536s 1..3 536s # Start of dir tests 536s ok 1 /dir/read 536s ok 2 /dir/nonexisting 536s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 536s ok 3 /dir/refcounting 536s # End of dir tests 536s ok - glib/dir.test 536s # Running test: glib/dynamictype.test 536s TAP version 14 536s # random seed: R02S53db97e19276e59a21c8fbfc5221768d 536s 1..2 536s # Start of gobject tests 536s ok 1 /gobject/dynamic-type 536s # Start of dynamic-type tests 536s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 536s ok 2 /gobject/dynamic-type/query 536s # End of dynamic-type tests 536s # End of gobject tests 536s ok - glib/dynamictype.test 536s # Running test: glib/live-g-file.test 536s TAP version 14 536s # random seed: R02Sdc688c39b3edc976ef1d62b3d30ceec3 536s 1..13 536s # Start of live-g-file tests 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/prep_clean_structure/.dirs/runtime 536s # Cleaning target testing structure in '/tmp/test_live-g-file_4DOMK3/testdir_live-g-file'... 536s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 536s ok 1 /live-g-file/prep_clean_structure 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/create_structure/.dirs/runtime 536s # 536s # Going to create testing structure in '/tmp/test_live-g-file_4DOMK3/testdir_live-g-file'... 536s # Creating directory 'dir1'... 536s # Creating directory 'dir1/subdir'... 536s # Creating directory 'dir2'... 536s # Creating directory 'dir-target'... 536s # Creating directory 'dir_no-access'... 536s # Creating directory 'dir_no-write'... 536s # Creating file 'target-file'... 536s # Creating file 'normal_file'... 536s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 536s # Creating file 'executable_file'... 536s # Creating file 'private_file'... 536s # Creating file 'normal_file2'... 536s # Creating file 'readonly_file'... 536s # Creating file 'UTF_příliš z'... 536s # Creating directory 'dir_příliš z'... 536s # Creating symlink 'lost_symlink' --> 'nowhere'... 536s # Creating directory 'dir_hidden'... 536s # Creating file 'dir_hidden/.a-hidden-file'... 536s # Creating file 'dir_hidden/file-in-.hidden1'... 536s # Creating file 'dir_hidden/file-in-.hidden2'... 536s # Creating pattern file... 536s # done. 536s ok 2 /live-g-file/create_structure 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_initial_structure/.dirs/runtime 536s # Testing sample structure in '/tmp/test_live-g-file_4DOMK3/testdir_live-g-file'... 536s # Testing file 'dir1'... 536s # Testing file 'dir1/subdir'... 536s # Testing file 'dir2'... 536s # Testing file 'dir-target'... 536s # Testing file 'dir_no-access'... 536s # Testing file 'dir_no-write'... 536s # Testing file 'target-file'... 536s # Testing file 'normal_file'... 536s # Testing file 'normal_file-symlink'... 536s # Testing file 'executable_file'... 536s # Testing file 'private_file'... 536s # Testing file 'normal_file2'... 536s # Testing file 'readonly_file'... 536s # Testing file 'UTF_příliš z'... 536s # Testing file 'dir_příliš z'... 536s # Testing file 'lost_symlink'... 536s # Testing file 'dir_hidden'... 536s # Testing file 'dir_hidden/.a-hidden-file'... 536s # Testing file 'dir_hidden/file-in-.hidden1'... 536s # Testing file 'dir_hidden/file-in-.hidden2'... 536s # Testing pattern file... 536s # read 65536 bytes, total = 65536 of 65536. 536s ok 3 /live-g-file/test_initial_structure 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_traverse_structure/.dirs/runtime 536s # Traversing through the sample structure in '/tmp/test_live-g-file_4DOMK3/testdir_live-g-file'... 536s # Found file dir1, relative to root: dir1 536s # Found file subdir, relative to root: dir1/subdir 536s # Found file dir2, relative to root: dir2 536s # Found file dir-target, relative to root: dir-target 536s # Found file dir_no-access, relative to root: dir_no-access 536s # Found file dir_no-write, relative to root: dir_no-write 536s # Found file target-file, relative to root: target-file 536s # Found file normal_file, relative to root: normal_file 536s # Found file normal_file-symlink, relative to root: normal_file-symlink 536s # Found file executable_file, relative to root: executable_file 536s # Found file private_file, relative to root: private_file 536s # Found file normal_file2, relative to root: normal_file2 536s # Found file readonly_file, relative to root: readonly_file 536s # Found file UTF_příliš z, relative to root: UTF_příliš z 536s # Found file dir_příliš z, relative to root: dir_příliš z 536s # Found file lost_symlink, relative to root: lost_symlink 536s # Found file dir_hidden, relative to root: dir_hidden 536s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 536s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 536s # Found file .hidden, relative to root: dir_hidden/.hidden 536s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 536s # Found file pattern_file, relative to root: pattern_file 536s ok 4 /live-g-file/test_traverse_structure 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_enumerate/.dirs/runtime 536s # Test enumerate '/tmp/test_live-g-file_4DOMK3/testdir_live-g-file'... 536s # Testing file 'dir_no-access' 536s # Testing file 'normal_file' 536s # Testing file 'normal_file-symlink' 536s # Testing file 'not_exists' 536s # Testing file 'not_exists' 536s # Testing file 'not_exists2' 536s # Testing file 'not_exists3' 536s # Testing file 'not_exists4' 536s # Testing file 'dir_no-execute/file' 536s ok 5 /live-g-file/test_enumerate 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_open/.dirs/runtime 536s # test_open: 'dir1' 536s # test_open: 'dir_no-access' 536s # test_open: 'target-file' 536s # test_open: 'normal_file-symlink' 536s # test_open: 'executable_file' 536s # test_open: 'private_file' 536s # test_open: 'readonly_file' 536s # test_open: 'UTF_příliš z' 536s # test_open: 'pattern_file' 536s # test_open: 'not_exists' 536s # test_open: 'dir_no-execute/file' 536s # test_open: 'lost_symlink' 536s ok 6 /live-g-file/test_open 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_create/.dirs/runtime 536s # test_create: 'dir1' 536s # error code 3 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir1”: Is a directory 536s # test_create: 'dir1/subdir' 536s # error code 3 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir1/subdir”: Is a directory 536s # test_create: 'dir2' 536s # error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir2”: File exists 536s # test_create: 'normal_file' 536s # error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/normal_file”: File exists 536s # test_create: 'executable_file' 536s # test_create: 'private_file' 536s # test_create: 'normal_file2' 536s # test_create: 'UTF_příliš z' 536s # error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/UTF_příliš z”: File exists 536s # test_create: 'dir_příliš z' 536s # error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_příliš z”: File exists 536s # test_create: 'pattern_file' 536s # test_create: 'not_exists2' 536s # test_create: 'not_exists3' 536s # test_create: 'not_exists4' 536s ok 7 /live-g-file/test_create 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_copy_move/.dirs/runtime 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir1/subdir' --> 'dir-target' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir1/subdir' --> '.' 536s # res = 0, error code 2 = Target file exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir1/subdir' --> 'target-file' 536s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir1/subdir' --> 'not_exists' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir2' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir-target' --> 'dir-target' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir-target' --> '.' 536s # res = 0, error code 2 = Target file exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir-target' --> 'target-file' 536s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/dir-target”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir-target' --> 'not_exists' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir-target' --> 'dir_no-access' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'dir-target' --> 'dir_no-write' 536s # res = 0, error code 25 = Can’t recursively copy directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'target-file' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'target-file' --> '.' 536s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file”: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'target-file' --> 'target-file' 536s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/target-file”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'target-file' --> 'not_exists' 536s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/target-file”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'target-file' --> 'dir_no-access' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'target-file' --> 'dir_no-write' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file-symlink' --> '.' 536s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/normal_file-symlink: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file-symlink' --> 'target-file' 536s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 536s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 536s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 536s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'executable_file' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'executable_file' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'executable_file' --> '.' 536s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/executable_file”: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'executable_file' --> 'target-file' 536s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/executable_file”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'executable_file' --> 'not_exists' 536s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'executable_file' --> 'dir_no-access' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'executable_file' --> 'dir_no-write' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'private_file' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'private_file' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'private_file' --> '.' 536s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/private_file”: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'private_file' --> 'target-file' 536s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/private_file”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'private_file' --> 'not_exists' 536s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/private_file”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'private_file' --> 'dir_no-access' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'private_file' --> 'dir_no-write' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file2' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file2' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file2' --> '.' 536s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/normal_file2”: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file2' --> 'target-file' 536s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/normal_file2”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file2' --> 'not_exists' 536s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file2' --> 'dir_no-access' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'normal_file2' --> 'dir_no-write' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'UTF_příliš z' --> '.' 536s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/UTF_příliš z”: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'UTF_příliš z' --> 'target-file' 536s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 536s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'pattern_file' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'pattern_file' --> '.' 536s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/pattern_file”: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'pattern_file' --> 'target-file' 536s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/pattern_file”: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'pattern_file' --> 'not_exists' 536s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'pattern_file' --> 'dir_no-access' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'pattern_file' --> 'dir_no-write' 536s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'not_exists' --> 'dir-target' 536s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'not_exists' --> '.' 536s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'not_exists' --> 'target-file' 536s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'not_exists' --> 'not_exists' 536s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'not_exists' --> 'dir_no-access' 536s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'not_exists' --> 'dir_no-write' 536s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists”: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'not_exists' --> 'dir-target' 536s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'lost_symlink' --> 'dir-target' 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'lost_symlink' --> '.' 536s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/lost_symlink: File exists 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'lost_symlink' --> 'target-file' 536s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/target-file/lost_symlink: Not a directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'lost_symlink' --> 'not_exists' 536s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 536s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 536s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 536s ok 8 /live-g-file/test_copy_move 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_delete/.dirs/runtime 536s # Deleting dir1, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir1 536s # result = 0, error = Error removing file /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir1: Directory not empty 536s # Deleting dir2, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir2 536s # result = 0, error = Error removing file /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir2: No such file or directory 536s # Deleting executable_file, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/executable_file 536s # result = 0, error = Error trashing file /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/executable_file: No such file or directory 536s # Deleting readonly_file, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/readonly_file 536s # Deleting dir_příliš z, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_příliš z 536s # Deleting not_exists, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists 536s # result = 0, error = Error removing file /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists: No such file or directory 536s # Deleting not_exists, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists 536s # result = 0, error = Error trashing file /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/not_exists: No such file or directory 536s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-execute/file 536s # result = 0, error = Error removing file /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/dir_no-execute/file: No such file or directory 536s # Deleting lost_symlink, path = /tmp/test_live-g-file_4DOMK3/testdir_live-g-file/lost_symlink 536s ok 9 /live-g-file/test_delete 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_make_directory_with_parents/.dirs/runtime 536s # We do not have CAP_DAC_OVERRIDE or equivalent 536s ok 10 /live-g-file/test_make_directory_with_parents 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/final_clean/.dirs/runtime 536s # Cleaning target testing structure in '/tmp/test_live-g-file_4DOMK3/testdir_live-g-file'... 536s # deleting 'dir1' 536s # deleting 'subdir' 536s # deleting 'dir-target' 536s # deleting 'dir2' 536s # deleting 'target-file' 536s # deleting 'normal_file-symlink' 536s # deleting 'pattern_file' 536s # deleting 'executable_file' 536s # deleting 'private_file' 536s # deleting 'normal_file2' 536s # deleting 'UTF_příliš z' 536s # deleting 'lost_symlink' 536s # deleting 'dir_no-access' 536s # deleting 'dir_no-write' 536s # deleting 'target-file' 536s # deleting 'normal_file' 536s # deleting 'normal_file-symlink' 536s # deleting 'executable_file~' 536s # deleting 'private_file' 536s # deleting 'normal_file2~' 536s # deleting 'a' 536s # deleting 'UTF_příliš z' 536s # deleting 'dir_hidden' 536s # deleting '.a-hidden-file' 536s # deleting 'file-in-.hidden1' 536s # deleting '.hidden' 536s # deleting 'file-in-.hidden2' 536s # deleting 'pattern_file' 536s # deleting 'executable_file' 536s # deleting 'normal_file2' 536s # deleting 'not_exists2' 536s ok - glib/live-g-file.test 536s # deleting 'not_exists3' 536s # deleting 'not_exists4' 536s ok 11 /live-g-file/final_clean 536s # Start of test_unix_is_mountpoint tests 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 536s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DOMK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 536s ok 13 /live-g-file/test_unix_is_mountpoint/proc 536s # End of test_unix_is_mountpoint tests 536s # End of live-g-file tests 536s # Running test: glib/cxx.test 536s ok - glib/cxx.test 536s TAP version 14 536s # random seed: R02Sc805b5460651e752cdc55c6d7acb583c 536s 1..2 536s # Start of gtask tests 536s # 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. 536s ok 1 /gtask/name 536s # Start of name tests 536s # 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. 536s ok 2 /gtask/name/macro-wrapper 536s # End of name tests 536s # End of gtask tests 536s # Running test: glib/collate.test 536s ok - glib/collate.test 536s TAP version 14 536s # random seed: R02S62cf2534507853d97805744b6b73b9f7 536s 1..9 536s # Start of unicode tests 536s # Start of collate tests 536s ok 1 /unicode/collate/0 536s ok 2 /unicode/collate/1 536s ok 3 /unicode/collate/2 536s # End of collate tests 536s # Start of collate-key tests 536s ok 4 /unicode/collate-key/0 536s ok 5 /unicode/collate-key/1 536s ok 6 /unicode/collate-key/2 536s # End of collate-key tests 536s # Start of collate-filename tests 536s ok 7 /unicode/collate-filename/0 536s ok 8 /unicode/collate-filename/1 536s ok 9 /unicode/collate-filename/2 536s # End of collate-filename tests 536s # End of unicode tests 536s # Running test: glib/refcount.test 536s TAP version 14 536s # random seed: R02S91701176b2e80e58c22e05166560ad7a 536s 1..4 536s # Start of refcount tests 536s ok 1 /refcount/grefcount 536s ok 2 /refcount/gatomicrefcount 536s # Start of grefcount tests 536s ok 3 /refcount/grefcount/saturation 536s # End of grefcount tests 536s # Start of gatomicrefcount tests 536s ok 4 /refcount/gatomicrefcount/saturation 536s # End of gatomicrefcount tests 536s # End of refcount tests 536s ok - glib/refcount.test 536s # Running test: glib/properties.test 536s TAP version 14 536s # random seed: R02S9d1da50fd079381f09f256599cc8115a 536s 1..14 536s # Start of properties tests 536s ok 1 /properties/install 536s ok 2 /properties/install-many 536s ok 3 /properties/notify 536s ok 4 /properties/notify-queue 536s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 536s ok 5 /properties/construct 536s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 536s # Test g_object_get_property with an initialized value 536s # Test g_object_get_property with an uninitialized value 536s # Test g_object_get_property with a transformable value 536s ok 6 /properties/get-property 536s ok 7 /properties/testv_with_no_properties 536s ok 8 /properties/testv_with_valid_properties 536s ok 9 /properties/testv_with_invalid_property_type 536s ok 10 /properties/testv_with_invalid_property_names 536s ok 11 /properties/testv_getv 536s ok 12 /properties/testv_notify_queue 536s # Start of notify tests 536s ok - glib/properties.test 536s # Running test: glib/markup-parse.test 536s ok 13 /properties/notify/too-many-freezes 536s # End of notify tests 536s # Start of set-property tests 536s # Start of variant tests 536s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 536s ok 14 /properties/set-property/variant/floating 536s # End of variant tests 536s # End of set-property tests 536s # End of properties tests 536s TAP version 14 536s # random seed: R02S7e3f482c03acf7531dbcb2417216d15c 536s 1..71 536s # Start of markup tests 536s # Start of parse tests 536s ok 1 /markup/parse/fail-31.gmarkup 536s ok 2 /markup/parse/valid-2.gmarkup 536s ok 3 /markup/parse/valid-13.gmarkup 536s ok 4 /markup/parse/fail-49.gmarkup 536s ok 5 /markup/parse/fail-39.gmarkup 536s ok 6 /markup/parse/fail-54.gmarkup 536s ok 7 /markup/parse/fail-53.gmarkup 536s ok 8 /markup/parse/fail-36.gmarkup 536s ok 9 /markup/parse/fail-23.gmarkup 536s ok 10 /markup/parse/valid-4.gmarkup 536s ok 11 /markup/parse/fail-44.gmarkup 536s ok 12 /markup/parse/valid-10.gmarkup 536s ok 13 /markup/parse/fail-13.gmarkup 536s ok 14 /markup/parse/valid-5.gmarkup 536s ok 15 /markup/parse/fail-25.gmarkup 536s ok 16 /markup/parse/valid-1.gmarkup 536s ok 17 /markup/parse/fail-12.gmarkup 536s ok 18 /markup/parse/fail-37.gmarkup 536s ok 19 /markup/parse/fail-5.gmarkup 536s ok 20 /markup/parse/valid-7.gmarkup 536s ok 21 /markup/parse/fail-7.gmarkup 536s ok 22 /markup/parse/fail-27.gmarkup 536s ok 23 /markup/parse/fail-46.gmarkup 536s ok 24 /markup/parse/fail-43.gmarkup 536s ok 25 /markup/parse/valid-8.gmarkup 536s ok 26 /markup/parse/fail-33.gmarkup 536s ok 27 /markup/parse/fail-28.gmarkup 536s ok 28 /markup/parse/fail-52.gmarkup 536s ok 29 /markup/parse/fail-47.gmarkup 536s ok 30 /markup/parse/fail-38.gmarkup 536s ok 31 /markup/parse/fail-19.gmarkup 536s ok 32 /markup/parse/fail-45.gmarkup 536s ok 33 /markup/parse/fail-9.gmarkup 536s ok 34 /markup/parse/fail-42.gmarkup 536s ok 35 /markup/parse/fail-17.gmarkup 536s ok 36 /markup/parse/fail-2.gmarkup 536s ok 37 /markup/parse/fail-14.gmarkup 536s ok 38 /markup/parse/fail-50.gmarkup 536s ok 39 /markup/parse/valid-9.gmarkup 536s ok 40 /markup/parse/fail-3.gmarkup 536s ok 41 /markup/parse/fail-30.gmarkup 536s ok 42 /markup/parse/fail-11.gmarkup 536s ok 43 /markup/parse/fail-16.gmarkup 536s ok 44 /markup/parse/fail-35.gmarkup 536s ok 45 /markup/parse/valid-17.gmarkup 536s ok 46 /markup/parse/fail-1.gmarkup 536s ok 47 /markup/parse/valid-16.gmarkup 536s ok 48 /markup/parse/fail-10.gmarkup 536s ok 49 /markup/parse/fail-21.gmarkup 536s ok 50 /markup/parse/valid-6.gmarkup 536s ok 51 /markup/parse/fail-6.gmarkup 536s ok 52 /markup/parse/fail-51.gmarkup 536s ok 53 /markup/parse/fail-29.gmarkup 536s ok 54 /markup/parse/fail-32.gmarkup 536s ok - glib/markup-parse.test 536s ok 55 /markup/parse/fail-4.gmarkup 536s ok 56 /markup/parse/fail-18.gmarkup 536s ok 57 /markup/parse/fail-8.gmarkup 536s ok 58 /markup/parse/valid-15.gmarkup 536s ok 59 /markup/parse/fail-41.gmarkup 536s ok 60 /markup/parse/valid-11.gmarkup 536s ok 61 /markup/parse/valid-14.gmarkup 536s ok 62 /markup/parse/fail-20.gmarkup 536s ok 63 /markup/parse/fail-48.gmarkup 536s ok 64 /markup/parse/fail-15.gmarkup 536s ok 65 /markup/parse/fail-40.gmarkup 536s ok 66 /markup/parse/valid-3.gmarkup 536s ok 67 /markup/parse/fail-22.gmarkup 536s ok 68 /markup/parse/fail-34.gmarkup 536s ok 69 /markup/parse/fail-26.gmarkup 536s ok 70 /markup/parse/fail-24.gmarkup 536s ok 71 /markup/parse/valid-12.gmarkup 536s # End of parse tests 536s # End of markup tests 536s # Running test: glib/signals-refcount2.test 536s TAP version 14 536s # random seed: R02S8d0b81daf44083eb21f02677a1add67b 536s 1..1 536s # Start of gobject tests 536s # Start of refcount tests 536s # init 0x160092b7d4a0 536s # 536s # init 0x160092b75580 536s # 538s # Executing: glib/signals-refcount2.test 541s # dispose 0x160092b7d4a0! 541s # 541s # dispose 0x160092b75580! 541s # 541s ok 1 /gobject/refcount/signals 541s # slow test /gobject/refcount/signals executed in 5.00 secs 541s # End of refcount tests 541s # End of gobject tests 541s ok - glib/signals-refcount2.test 541s # Running test: glib/types.test 541s ok - glib/types.test 541s # Running test: glib/autoptr-gio.test 541s ok - glib/autoptr-gio.test 541s # Running test: glib/memory-monitor-psi.test 541s TAP version 14 541s # random seed: R02S3c60aafee43c146fa695bb8aa925bce7 541s 1..1 541s # Start of types tests 541s ok 1 /types/basic_types 541s # End of types tests 541s TAP version 14 541s # random seed: R02S3747aa2f5fc9be8d9d180a60010abd7b 541s 1..1 541s # Start of autoptr tests 541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 541s ok 1 /autoptr/autoptr 541s # End of autoptr tests 541s TAP version 14 541s # random seed: R02Sd1e2a1b8d292a30d5094fc8c105aa981 541s 1..1 541s # Start of memory-monitor-psi tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_V8UDK3/memory-monitor-psi/receive-signal/.dirs/runtime 541s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 541s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 541s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 541s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 541s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 541s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 541s ok - glib/memory-monitor-psi.test 541s # Running test: glib/gdbus-server-auth.test 541s ok 1 /memory-monitor-psi/receive-signal 541s # End of memory-monitor-psi tests 541s TAP version 14 541s # random seed: R02S0a437b89db99f56bf6173565e1c40912 541s 1..9 541s # Start of gdbus tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/.dirs/runtime 541s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-XNPDK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 541s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-XNPDK3/dbus-LJyIK90q 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4261 541s ok 1 /gdbus/server-auth 541s # Start of server-auth tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/abstract/.dirs/runtime 541s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-P5ZBK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 541s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-P5ZBK3/dbus-CgT7luFk 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 541s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 541s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4261 541s ok 2 /gdbus/server-auth/abstract 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/tcp/.dirs/runtime 541s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 541s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/.dirs/runtime 541s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-ADLAK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 541s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-ADLAK3/dbus-mpkEDMCM 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4261 541s ok 4 /gdbus/server-auth/anonymous 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/.dirs/runtime 541s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-R9OBK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 541s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-R9OBK3/dbus-929Hvi6Y 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4261 541s ok 5 /gdbus/server-auth/external 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/.dirs/runtime 541s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-NCLBK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 541s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 541s # Start of anonymous tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 541s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 541s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 541s # End of anonymous tests 541s # Start of external tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 541s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-X1LBK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 541s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YGPDK3/gdbus-server-auth-X1LBK3/dbus-Nud1yA0B 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s ok - glib/gdbus-server-auth.test 541s # Running test: glib/thread-pool-slow.test 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4261 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4261,uid=1000,gid=1000 541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4261 541s ok 8 /gdbus/server-auth/external/require-same-user 541s # End of external tests 541s # Start of sha1 tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YGPDK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 541s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 541s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 541s # End of sha1 tests 541s # End of server-auth tests 541s # End of gdbus tests 541s TAP version 14 541s # random seed: R02S27f5c6c95eeb612cee850952b900836f 541s 1..7 541s # Start of threadpool tests 541s ok 1 /threadpool/functions 542s ok 2 /threadpool/stop-unused 542s # slow test /threadpool/stop-unused executed in 0.51 secs 542s ok 3 /threadpool/pools 542s # [unsorted] ===> pushed new thread with id:23, number of threads:1, unprocessed:0 542s # [unsorted] ===> pushed new thread with id:34, number of threads:2, unprocessed:0 542s # [unsorted] ===> pushed new thread with id:5, number of threads:3, unprocessed:0 542s # [unsorted] ===> pushed new thread with id:22, number of threads:4, unprocessed:1 542s # [unsorted] ===> pushed new thread with id:35, number of threads:5, unprocessed:1 542s # [unsorted] ===> pushed new thread with id:18, number of threads:6, unprocessed:2 542s # [unsorted] ===> pushed new thread with id:33, number of threads:7, unprocessed:2 542s # [unsorted] ===> pushed new thread with id:70, number of threads:8, unprocessed:3 542s # [unsorted] ===> pushed new thread with id:32, number of threads:9, unprocessed:3 542s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:4 542s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:5 542s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:6 542s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:7 542s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:8 542s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:9 542s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:10 542s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:11 542s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:12 542s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:13 542s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:14 542s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:15 542s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:16 542s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:17 542s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:18 542s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:19 542s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:20 542s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:21 542s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:22 542s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:23 542s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:24 542s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:25 542s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:26 542s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:27 542s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:28 542s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:29 542s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:30 542s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:31 542s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:32 542s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:33 542s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:34 542s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:35 542s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:36 542s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:37 542s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:38 542s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:39 542s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:40 542s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:41 542s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:42 542s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:43 542s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:44 542s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:45 542s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:46 542s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:47 542s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:48 542s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:49 542s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:50 542s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:51 542s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:52 542s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:53 542s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:54 542s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:55 542s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:56 542s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:57 542s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:58 542s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:59 542s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:60 542s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:61 542s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:62 542s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:63 542s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:64 542s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:65 542s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:66 542s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:67 542s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:68 542s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:69 542s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:70 542s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:71 542s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:72 542s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:73 542s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:74 542s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:75 542s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:76 542s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:77 542s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:78 542s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:79 542s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:80 542s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:81 542s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:82 542s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:83 542s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:84 542s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:85 542s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:86 542s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:87 542s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:88 542s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:89 542s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:90 542s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:91 542s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:92 542s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:93 542s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:94 542s ok 4 /threadpool/no-sort 542s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:1 542s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:2 542s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:3 542s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:4 542s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:5 542s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:6 542s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:7 542s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:8 542s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:9 542s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:10 542s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:11 542s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:12 542s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:13 542s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:14 542s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:15 542s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:16 542s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:17 542s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:18 542s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:19 542s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:20 542s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:21 542s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:22 542s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:23 542s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:24 542s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:25 542s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:26 542s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:27 542s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:28 542s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:29 542s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:30 542s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:31 542s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:32 542s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:33 542s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:34 542s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:35 542s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:36 542s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:37 542s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:38 542s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:39 542s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:40 542s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:41 542s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:42 542s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:43 542s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:44 542s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:45 542s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:46 542s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:47 542s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:48 542s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:49 542s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:50 542s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:51 542s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:52 542s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:53 542s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:54 542s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:55 542s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:56 542s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:57 542s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:58 542s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:59 542s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:60 542s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:61 542s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:62 542s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:63 542s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:64 542s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:65 542s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:66 542s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:67 542s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:68 542s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:69 542s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:70 542s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:71 542s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:72 542s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:73 542s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:74 542s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:75 542s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:76 542s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:77 542s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:78 542s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:79 542s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:80 542s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:81 542s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:82 542s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:83 542s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:84 542s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:85 542s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:86 542s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:87 542s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:88 542s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:89 542s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:90 542s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:91 542s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:92 542s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:93 542s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:94 542s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:95 542s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:96 542s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:97 542s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:98 542s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:99 542s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:100 542s # Starting thread pool processing 542s ok 5 /threadpool/sort 543s ok 6 /threadpool/stop-unused-multiple 543s # slow test /threadpool/stop-unused-multiple executed in 0.60 secs 543s # Pool idle thread count: 0, unprocessed jobs: 47 543s # Pool idle thread count: 0, unprocessed jobs: 0 543s # Pool idle thread count: 0, unprocessed jobs: 0 543s # Executing: glib/thread-pool-slow.test 544s # Pool idle thread count: 10, unprocessed jobs: 0 544s # Pool idle thread count: 10, unprocessed jobs: 0 544s # Pool idle thread count: 10, unprocessed jobs: 0 544s # Pool idle thread count: 10, unprocessed jobs: 0 545s # Pool idle thread count: 10, unprocessed jobs: 0 545s # Pool idle thread count: 10, unprocessed jobs: 0 545s # Pool idle thread count: 10, unprocessed jobs: 0 545s # Pool idle thread count: 10, unprocessed jobs: 0 546s # Pool idle thread count: 10, unprocessed jobs: 0 546s # Pool idle thread count: 10, unprocessed jobs: 0 546s # Pool idle thread count: 10, unprocessed jobs: 0 546s # Pool idle thread count: 10, unprocessed jobs: 0 547s # Pool idle thread count: 10, unprocessed jobs: 0 547s # Pool idle thread count: 10, unprocessed jobs: 0 547s # Pool idle thread count: 10, unprocessed jobs: 0 547s # Pool idle thread count: 10, unprocessed jobs: 0 548s # Pool idle thread count: 10, unprocessed jobs: 0 548s # Pool idle thread count: 10, unprocessed jobs: 0 548s # Pool idle thread count: 10, unprocessed jobs: 0 548s # Pool idle thread count: 10, unprocessed jobs: 0 548s # Executing: glib/thread-pool-slow.test 549s # Pool idle thread count: 10, unprocessed jobs: 0 549s # Pool idle thread count: 10, unprocessed jobs: 0 549s # Pool idle thread count: 10, unprocessed jobs: 0 549s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 552s # Pool idle thread count: 10, unprocessed jobs: 2 552s # Pool idle thread count: 10, unprocessed jobs: 2 552s # Pool idle thread count: 8, unprocessed jobs: 0 552s # Pool idle thread count: 8, unprocessed jobs: 0 552s # Pool idle thread count: 10, unprocessed jobs: 0 552s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Executing: glib/thread-pool-slow.test 554s # Pool idle thread count: 2, unprocessed jobs: 0 554s # Pool idle thread count: 2, unprocessed jobs: 0 554s # Pool idle thread count: 2, unprocessed jobs: 0 554s # Pool idle thread count: 2, unprocessed jobs: 0 555s # Pool idle thread count: 2, unprocessed jobs: 0 555s # Pool idle thread count: 2, unprocessed jobs: 0 555s # Pool idle thread count: 2, unprocessed jobs: 0 555s # Pool idle thread count: 2, unprocessed jobs: 0 556s # Pool idle thread count: 2, unprocessed jobs: 0 556s # Pool idle thread count: 2, unprocessed jobs: 0 556s # Pool idle thread count: 2, unprocessed jobs: 0 556s # Pool idle thread count: 2, unprocessed jobs: 0 557s # Pool idle thread count: 2, unprocessed jobs: 0 557s # Pool idle thread count: 2, unprocessed jobs: 0 557s # Pool idle thread count: 2, unprocessed jobs: 0 557s # Pool idle thread count: 2, unprocessed jobs: 0 558s # Pool idle thread count: 2, unprocessed jobs: 0 558s # Pool idle thread count: 2, unprocessed jobs: 0 558s # Pool idle thread count: 2, unprocessed jobs: 0 558s # Pool idle thread count: 2, unprocessed jobs: 0 558s # Executing: glib/thread-pool-slow.test 559s # Pool idle thread count: 2, unprocessed jobs: 0 559s # Pool idle thread count: 2, unprocessed jobs: 0 559s # Pool idle thread count: 2, unprocessed jobs: 0 559s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 562s # Pool idle thread count: 2, unprocessed jobs: 0 562s # Pool idle thread count: 2, unprocessed jobs: 0 562s ok 7 /threadpool/idle-time 562s # slow test /threadpool/idle-time executed in 19.53 secs 562s # End of threadpool tests 562s ok - glib/thread-pool-slow.test 562s # Running test: glib/filenamecompleter.test 562s TAP version 14 562s # random seed: R02S575814e5c7b6b425f40ce73aacfc6560 562s 1..1 562s # Start of filenamecompleter tests 562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/home 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/cache 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/system-config2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/config 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/system-data2 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/data 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/state 562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_8WOEK3/filenamecompleter/basic/.dirs/runtime 562s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 562s ok 1 /filenamecompleter/basic 562s # End of filenamecompleter tests 562s ok - glib/filenamecompleter.test 562s # Running test: glib/power-profile-monitor-portal.test 562s TAP version 13 562s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 562s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 563s 1..2 563s ok - glib/power-profile-monitor-portal.test 563s # Running test: glib/tls-database.test 563s TAP version 14 563s # random seed: R02S47c8c1a100103c2d72dd3faf1e2fc660 563s ok - glib/tls-database.test 563s 1..1 563s # Start of tls-backend tests 563s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 563s ok 1 /tls-backend/set-default-database 563s # End of tls-backend tests 563s # Running test: glib/timer.test 563s TAP version 14 563s # random seed: R02Sa7250e9f585c8cfea6ccd30d8be38e52 563s 1..10 563s # Start of timer tests 563s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 563s ok - glib/timer.test 563s # Running test: glib/buffered-input-stream.test 563s ok - glib/buffered-input-stream.test 563s # Running test: glib/thumbnail-verification.test 563s ok 2 /timer/stop 563s ok 3 /timer/continue 563s ok 4 /timer/reset 563s ok 5 /timer/is_active 563s # End of timer tests 563s # Start of timeval tests 563s ok 6 /timeval/add 563s ok 7 /timeval/from-iso8601 563s ok 8 /timeval/to-iso8601 563s # Start of to-iso8601 tests 563s ok 9 /timeval/to-iso8601/overflow 563s # End of to-iso8601 tests 563s # End of timeval tests 563s # Start of usleep tests 563s ok 10 /usleep/with-zero-wait 563s # End of usleep tests 563s TAP version 14 563s # random seed: R02S7d83f8dc153a638e0d2be7d5b86bc0eb 563s 1..10 563s # Start of buffered-input-stream tests 563s ok 1 /buffered-input-stream/peek 563s ok 2 /buffered-input-stream/peek-buffer 563s ok 3 /buffered-input-stream/set-buffer-size 563s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 563s ok 4 /buffered-input-stream/read-byte 563s ok 5 /buffered-input-stream/read 563s ok 6 /buffered-input-stream/read-async 563s ok 7 /buffered-input-stream/skip 563s ok 8 /buffered-input-stream/skip-async 563s ok 9 /buffered-input-stream/seek 563s # End of buffered-input-stream tests 563s # Start of filter-input-stream tests 563s ok 10 /filter-input-stream/close 563s # End of filter-input-stream tests 563s TAP version 14 563s # random seed: R02S8129ade19825e52cca36abbbafe40552 563s 1..1 563s # Start of png-thumbs tests 563s ok - glib/thumbnail-verification.test 563s # Running test: glib/signalgroup.test 563s ok - glib/signalgroup.test 563s # Running test: glib/utf8-validate.test 563s ok - glib/utf8-validate.test 563s # Running test: glib/param.test 563s ok 1 /png-thumbs/validity 563s # End of png-thumbs tests 563s TAP version 14 563s # random seed: R02Sba3a2170db92ab143ddcdb53d2e4becb 563s 1..9 563s # Start of GObject tests 563s # Start of SignalGroup tests 563s ok 1 /GObject/SignalGroup/invalid 563s ok 2 /GObject/SignalGroup/simple 563s ok 3 /GObject/SignalGroup/changing-target 563s ok 4 /GObject/SignalGroup/blocking 563s ok 5 /GObject/SignalGroup/weak-ref-target 563s ok 6 /GObject/SignalGroup/connect-object 563s ok 7 /GObject/SignalGroup/signal-parsing 563s ok 8 /GObject/SignalGroup/properties 563s ok 9 /GObject/SignalGroup/interface 563s # Start of signal-parsing tests 563s # End of signal-parsing tests 563s # End of SignalGroup tests 563s # End of GObject tests 563s TAP version 14 563s # random seed: R02S59c67a079bb1e5660ad04881b9c521ce 563s 1..238 563s # Start of utf8 tests 563s # Vector 0 563s # Vector 1 563s # Vector 2 563s # Vector 3 563s # Vector 4 563s # Vector 5 563s # Vector 6 563s # Vector 7 563s # Vector 8 563s # Vector 9 563s # Vector 10 563s # Vector 11 563s # Vector 12 563s # Vector 13 563s # Vector 14 563s # Vector 15 563s # Vector 16 563s # Vector 17 563s # Vector 18 563s # Vector 19 563s # Vector 20 563s # Vector 21 563s # Vector 22 563s # Vector 23 563s # Vector 24 563s # Vector 25 563s # Vector 26 563s # Vector 27 563s ok 1 /utf8/get-char-validated 563s # Start of validate tests 563s ok 2 /utf8/validate/0 563s ok 3 /utf8/validate/1 563s ok 4 /utf8/validate/2 563s ok 5 /utf8/validate/3 563s ok 6 /utf8/validate/4 563s ok 7 /utf8/validate/5 563s ok 8 /utf8/validate/6 563s ok 9 /utf8/validate/7 563s ok 10 /utf8/validate/8 563s ok 11 /utf8/validate/9 563s ok 12 /utf8/validate/10 563s ok 13 /utf8/validate/11 563s ok 14 /utf8/validate/12 563s ok 15 /utf8/validate/13 563s ok 16 /utf8/validate/14 563s ok 17 /utf8/validate/15 563s ok 18 /utf8/validate/16 563s ok 19 /utf8/validate/17 563s ok 20 /utf8/validate/18 563s ok 21 /utf8/validate/19 563s ok 22 /utf8/validate/20 563s ok 23 /utf8/validate/21 563s ok 24 /utf8/validate/22 563s ok 25 /utf8/validate/23 563s ok 26 /utf8/validate/24 563s ok 27 /utf8/validate/25 563s ok 28 /utf8/validate/26 563s ok 29 /utf8/validate/27 563s ok 30 /utf8/validate/28 563s ok 31 /utf8/validate/29 563s ok 32 /utf8/validate/30 563s ok 33 /utf8/validate/31 563s ok 34 /utf8/validate/32 563s ok 35 /utf8/validate/33 563s ok 36 /utf8/validate/34 563s ok 37 /utf8/validate/35 563s ok 38 /utf8/validate/36 563s ok 39 /utf8/validate/37 563s ok 40 /utf8/validate/38 563s ok 41 /utf8/validate/39 563s ok 42 /utf8/validate/40 563s ok 43 /utf8/validate/41 563s ok 44 /utf8/validate/42 563s ok 45 /utf8/validate/43 563s ok 46 /utf8/validate/44 563s ok 47 /utf8/validate/45 563s ok 48 /utf8/validate/46 563s ok 49 /utf8/validate/47 563s ok 50 /utf8/validate/48 563s ok 51 /utf8/validate/49 563s ok 52 /utf8/validate/50 563s ok 53 /utf8/validate/51 563s ok 54 /utf8/validate/52 563s ok 55 /utf8/validate/53 563s ok 56 /utf8/validate/54 563s ok 57 /utf8/validate/55 563s ok 58 /utf8/validate/56 563s ok 59 /utf8/validate/57 563s ok 60 /utf8/validate/58 563s ok 61 /utf8/validate/59 563s ok 62 /utf8/validate/60 563s ok 63 /utf8/validate/61 563s ok 64 /utf8/validate/62 563s ok 65 /utf8/validate/63 563s ok 66 /utf8/validate/64 563s ok 67 /utf8/validate/65 563s ok 68 /utf8/validate/66 563s ok 69 /utf8/validate/67 563s ok 70 /utf8/validate/68 563s ok 71 /utf8/validate/69 563s ok 72 /utf8/validate/70 563s ok 73 /utf8/validate/71 563s ok 74 /utf8/validate/72 563s ok 75 /utf8/validate/73 563s ok 76 /utf8/validate/74 563s ok 77 /utf8/validate/75 563s ok 78 /utf8/validate/76 563s ok 79 /utf8/validate/77 563s ok 80 /utf8/validate/78 563s ok 81 /utf8/validate/79 563s ok 82 /utf8/validate/80 563s ok 83 /utf8/validate/81 563s ok 84 /utf8/validate/82 563s ok 85 /utf8/validate/83 563s ok 86 /utf8/validate/84 563s ok 87 /utf8/validate/85 563s ok 88 /utf8/validate/86 563s ok 89 /utf8/validate/87 563s ok 90 /utf8/validate/88 563s ok 91 /utf8/validate/89 563s ok 92 /utf8/validate/90 563s ok 93 /utf8/validate/91 563s ok 94 /utf8/validate/92 563s ok 95 /utf8/validate/93 563s ok 96 /utf8/validate/94 563s ok 97 /utf8/validate/95 563s ok 98 /utf8/validate/96 563s ok 99 /utf8/validate/97 563s ok 100 /utf8/validate/98 563s ok 101 /utf8/validate/99 563s ok 102 /utf8/validate/100 563s ok 103 /utf8/validate/101 563s ok 104 /utf8/validate/102 563s ok 105 /utf8/validate/103 563s ok 106 /utf8/validate/104 563s ok 107 /utf8/validate/105 563s ok 108 /utf8/validate/106 563s ok 109 /utf8/validate/107 563s ok 110 /utf8/validate/108 563s ok 111 /utf8/validate/109 563s ok 112 /utf8/validate/110 563s ok 113 /utf8/validate/111 563s ok 114 /utf8/validate/112 563s ok 115 /utf8/validate/113 563s ok 116 /utf8/validate/114 563s ok 117 /utf8/validate/115 563s ok 118 /utf8/validate/116 563s ok 119 /utf8/validate/117 563s ok 120 /utf8/validate/118 563s ok 121 /utf8/validate/119 563s ok 122 /utf8/validate/120 563s ok 123 /utf8/validate/121 563s ok 124 /utf8/validate/122 563s ok 125 /utf8/validate/123 563s ok 126 /utf8/validate/124 563s ok 127 /utf8/validate/125 563s ok 128 /utf8/validate/126 563s ok 129 /utf8/validate/127 563s ok 130 /utf8/validate/128 563s ok 131 /utf8/validate/129 563s ok 132 /utf8/validate/130 563s ok 133 /utf8/validate/131 563s ok 134 /utf8/validate/132 563s ok 135 /utf8/validate/133 563s ok 136 /utf8/validate/134 563s ok 137 /utf8/validate/135 563s ok 138 /utf8/validate/136 563s ok 139 /utf8/validate/137 563s ok 140 /utf8/validate/138 563s ok 141 /utf8/validate/139 563s ok 142 /utf8/validate/140 563s ok 143 /utf8/validate/141 563s ok 144 /utf8/validate/142 563s ok 145 /utf8/validate/143 563s ok 146 /utf8/validate/144 563s ok 147 /utf8/validate/145 563s ok 148 /utf8/validate/146 563s ok 149 /utf8/validate/147 563s ok 150 /utf8/validate/148 563s ok 151 /utf8/validate/149 563s ok 152 /utf8/validate/150 563s ok 153 /utf8/validate/151 563s ok 154 /utf8/validate/152 563s ok 155 /utf8/validate/153 563s ok 156 /utf8/validate/154 563s ok 157 /utf8/validate/155 563s ok 158 /utf8/validate/156 563s ok 159 /utf8/validate/157 563s ok 160 /utf8/validate/158 563s ok 161 /utf8/validate/159 563s ok 162 /utf8/validate/160 563s ok 163 /utf8/validate/161 563s ok 164 /utf8/validate/162 563s ok 165 /utf8/validate/163 563s ok 166 /utf8/validate/164 563s ok 167 /utf8/validate/165 563s ok 168 /utf8/validate/166 563s ok 169 /utf8/validate/167 563s ok 170 /utf8/validate/168 563s ok 171 /utf8/validate/169 563s ok 172 /utf8/validate/170 563s ok 173 /utf8/validate/171 563s ok 174 /utf8/validate/172 563s ok 175 /utf8/validate/173 563s ok 176 /utf8/validate/174 563s ok 177 /utf8/validate/175 563s ok 178 /utf8/validate/176 563s ok 179 /utf8/validate/177 563s ok 180 /utf8/validate/178 563s ok 181 /utf8/validate/179 563s ok 182 /utf8/validate/180 563s ok 183 /utf8/validate/181 563s ok 184 /utf8/validate/182 563s ok 185 /utf8/validate/183 563s ok 186 /utf8/validate/184 563s ok 187 /utf8/validate/185 563s ok 188 /utf8/validate/186 563s ok 189 /utf8/validate/187 563s ok 190 /utf8/validate/188 563s ok 191 /utf8/validate/189 563s ok 192 /utf8/validate/190 563s ok 193 /utf8/validate/191 563s ok 194 /utf8/validate/192 563s ok 195 /utf8/validate/193 563s ok 196 /utf8/validate/194 563s ok 197 /utf8/validate/195 563s ok 198 /utf8/validate/196 563s ok 199 /utf8/validate/197 563s ok 200 /utf8/validate/198 563s ok 201 /utf8/validate/199 563s ok 202 /utf8/validate/200 563s ok 203 /utf8/validate/201 563s ok 204 /utf8/validate/202 563s ok 205 /utf8/validate/203 563s ok 206 /utf8/validate/204 563s ok 207 /utf8/validate/205 563s ok 208 /utf8/validate/206 563s ok 209 /utf8/validate/207 563s ok 210 /utf8/validate/208 563s ok 211 /utf8/validate/209 563s ok 212 /utf8/validate/210 563s ok 213 /utf8/validate/211 563s ok 214 /utf8/validate/212 563s ok 215 /utf8/validate/213 563s ok 216 /utf8/validate/214 563s ok 217 /utf8/validate/215 563s ok 218 /utf8/validate/216 563s ok 219 /utf8/validate/217 563s ok 220 /utf8/validate/218 563s ok 221 /utf8/validate/219 563s ok 222 /utf8/validate/220 563s ok 223 /utf8/validate/221 563s ok 224 /utf8/validate/222 563s ok 225 /utf8/validate/223 563s ok 226 /utf8/validate/224 563s ok 227 /utf8/validate/225 563s ok 228 /utf8/validate/226 563s ok 229 /utf8/validate/227 563s ok 230 /utf8/validate/228 563s ok 231 /utf8/validate/229 563s ok 232 /utf8/validate/230 563s ok 233 /utf8/validate/231 563s ok 234 /utf8/validate/232 563s ok 235 /utf8/validate/233 563s ok 236 /utf8/validate/234 563s ok 237 /utf8/validate/235 563s ok 238 /utf8/validate/236 563s # End of validate tests 563s # End of utf8 tests 563s TAP version 14 563s # random seed: R02S5cad2cb243db89e472d4341a5bb617ea 563s 1..32 563s # Start of param tests 563s ok 1 /param/value 563s ok 2 /param/strings 563s ok 3 /param/qdata 563s ok 4 /param/validate 563s ok 5 /param/convert 563s ok 6 /param/implement # SKIP Skipping slow /param/implement test 563s ok 7 /param/default 563s ok 8 /param/is-valid-name 563s # Start of invalid-name tests 563s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 563s ok 9 /param/invalid-name/colon 563s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 563s ok 10 /param/invalid-name/first-char 563s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 563s ok 11 /param/invalid-name/empty 563s # End of invalid-name tests 563s # Start of implement tests 563s # Start of subprocess tests 563s # End of subprocess tests 563s # End of implement tests 563s # End of param tests 563s # Start of value tests 563s ok 12 /value/transform 563s # End of value tests 563s # Start of paramspec tests 563s ok 13 /paramspec/char 563s ok 14 /paramspec/uchar 563s ok 15 /paramspec/int 563s ok 16 /paramspec/uint 563s ok 17 /paramspec/long 563s ok 18 /paramspec/ulong 563s ok 19 /paramspec/int64 563s ok 20 /paramspec/uint64 563s ok 21 /paramspec/float 563s ok 22 /paramspec/double 563s ok 23 /paramspec/unichar 563s ok 24 /paramspec/param 563s ok 25 /paramspec/null-param 563s ok 26 /paramspec/string 563s ok 27 /paramspec/override 563s ok 28 /paramspec/gtype 563s ok 29 /paramspec/variant 563s ok 30 /paramspec/custom 563s ok 31 /paramspec/pool 563s # Start of variant tests 563s ok 32 /paramspec/variant/cmp 563s # End of variant tests 563s # End of paramspec tests 563s ok - glib/param.test 563s # Running test: glib/pollable.test 563s TAP version 14 563s # random seed: R02S5b16d4543fd171c0fa6373e00b230525 563s 1..6 563s # Start of pollable tests 563s ok 1 /pollable/converter 563s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 563s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e7f89e1b900 and GSocketClientAsyncConnectData 0x1e7f89e1d7a0 563s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 563s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 563s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e7f89e13e00 for GSocketClientAsyncConnectData 0x1e7f89e1d7a0 563s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 563s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 563s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 563s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 563s ok 2 /pollable/socket 563s # Start of unix tests 563s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 563s ok - glib/pollable.test 563s ok 3 /pollable/unix/pipe 563s # /pollable/unix/pty summary: Test that PTYs are considered pollable 563s ok 4 /pollable/unix/pty 563s # /pollable/unix/file summary: Test that regular files are not considered pollable 563s ok 5 /pollable/unix/file 563s # /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 563s ok 6 /pollable/unix/nulldev 563s # End of unix tests 563s # End of pollable tests 563s # Running test: glib/hostutils.test 563s TAP version 14 563s # random seed: R02S428715dcded80b4bcbccd145e71059b9 563s 1..4 563s # Start of hostutils tests 563s ok 1 /hostutils/hostname_is_non_ascii 563s ok 2 /hostutils/to_ascii 563s ok - glib/hostutils.test 563s ok 3 /hostutils/to_unicode 563s ok 4 /hostutils/is_ip_addr 563s # End of hostutils tests 563s # Running test: glib/memory-monitor.test 563s TAP version 14 563s # random seed: R02Sddc5a331e45555bd9f07eb16e147310e 563s 1..1 563s # Start of memory-monitor tests 563s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 563s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 563s ok 1 /memory-monitor/default 563s # End of memory-monitor tests 563s ok - glib/memory-monitor.test 563s # Running test: glib/cxx-17.test 563s TAP version 14 563s # random seed: R02Sc4004fa149d771da3cc78cb2a8d0b26c 563s 1..2 563s # Start of gtask tests 563s # 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. 563s ok 1 /gtask/name 563s # Start of name tests 563s # 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. 563s ok 2 /gtask/name/macro-wrapper 563s # End of name tests 563s # End of gtask tests 563s ok - glib/cxx-17.test 563s # Running test: glib/gdbus-exit-on-close.test 563s TAP version 14 563s # random seed: R02Sacef0ff7cf414aafb7010ce483f607f6 563s 1..4 563s # Start of gdbus tests 563s # Start of exit-on-close tests 563s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/home 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/cache 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/system-config2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/config 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/system-data2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/data 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/state 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/default/.dirs/runtime 563s ok 1 /gdbus/exit-on-close/default 563s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/home 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/cache 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/system-config2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/config 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/system-data2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/data 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/state 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/true/.dirs/runtime 563s ok 2 /gdbus/exit-on-close/true 563s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/home 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/cache 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/system-config2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/config 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/system-data2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/data 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/state 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/false/.dirs/runtime 563s ok 3 /gdbus/exit-on-close/false 563s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/home 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/cache 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/system-config2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/config 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/system-data2 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/data 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/state 563s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6AHNK3/gdbus/exit-on-close/we-close/.dirs/runtime 563s ok 4 /gdbus/exit-on-close/we-close 563s # Start of default tests 563s # End of default tests 563s # Start of true tests 563s # End of true tests 563s # Start of false tests 563s # End of false tests 563s # Start of we-close tests 563s # End of we-close tests 563s # End of exit-on-close tests 563s # End of gdbus tests 563s ok - glib/gdbus-exit-on-close.test 563s # Running test: glib/sleepy-stream.test 563s TAP version 14 563s # random seed: R02Sa06ca1f5457791d076e933db7f95087c 563s 1..2 563s # Start of filter-stream tests 563s ok 1 /filter-stream/input 563s ok - glib/sleepy-stream.test 563s ok 2 /filter-stream/async 563s # End of filter-stream tests 563s # Running test: glib/mutex.test 563s TAP version 14 563s # random seed: R02S620679d85c60cd79fcffc10827fb82a0 563s 1..17 563s # Start of thread tests 563s ok 1 /thread/mutex1 563s ok 2 /thread/mutex2 563s ok 3 /thread/mutex3 563s ok 4 /thread/mutex4 563s # Executing: glib/mutex.test 568s ok 5 /thread/mutex5 568s # slow test /thread/mutex5 executed in 4.91 secs 568s # Start of mutex tests 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # /thread/mutex/errno summary: Validates that errno is not touched upon return 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 568s # Executing: glib/mutex.test 568s ok 6 /thread/mutex/errno 568s # Start of perf tests 568s # max perf: 1.000000 mips 568s ok 7 /thread/mutex/perf/uncontended 568s # Start of contended tests 568s # max perf: inf mips 568s ok 8 /thread/mutex/perf/contended/1 568s # max perf: 3.000000 mips 568s ok 9 /thread/mutex/perf/contended/2 568s # max perf: inf mips 568s ok 10 /thread/mutex/perf/contended/3 568s # max perf: inf mips 568s ok 11 /thread/mutex/perf/contended/4 568s # max perf: 6.000000 mips 568s ok 12 /thread/mutex/perf/contended/5 568s # max perf: 1.400000 mips 568s ok 13 /thread/mutex/perf/contended/6 568s # max perf: 2.000000 mips 568s ok 14 /thread/mutex/perf/contended/7 568s # max perf: 1.800000 mips 568s ok 15 /thread/mutex/perf/contended/8 568s # max perf: 2.000000 mips 568s ok 16 /thread/mutex/perf/contended/9 568s # max perf: 3.666667 mips 568s ok - glib/mutex.test 568s ok 17 /thread/mutex/perf/contended/10 568s # End of contended tests 568s # End of perf tests 568s # End of mutex tests 568s # End of thread tests 568s # Running test: glib/properties-refcount1.test 568s TAP version 14 568s # random seed: R02Sffc1b45a4d7abdb97c1324543a19ece6 568s 1..1 568s # Start of gobject tests 568s # Start of refcount tests 568s # .e 568s # .f 568s # .c 568s # .b 568s # .d 569s # .e 569s # .f 569s # .c 569s # .b 569s # .d 569s # .f 569s # .e 569s # .c 569s # .b 569s # .d 569s # .e 569s # .f 569s # .b 569s # .d 569s # .c 569s # .e 569s # .f 569s # .b 569s # .c 569s # .d 569s # .f 569s # .e 569s # .c 569s # .b 569s # .d 569s # .f 569s # .e 569s # .b 569s # .c 569s # .d 569s # .f 569s # .e 569s # .b 569s # .d 569s # .f 569s # .c 569s # .e 569s # .b 569s # .d 569s # .f 569s # .e 569s # .c 570s # .b 570s # .d 570s # .f 570s # .c 570s # .e 570s # .d 570s # .f 570s # .b 570s # .c 570s # .e 570s # .d 570s # .f 570s # .b 570s # .c 570s # .d 570s # .f 570s # .e 570s # .b 570s # .c 570s # .d 570s # .e 570s # .f 570s # .b 570s # .d 570s # .c 570s # .e 570s # .f 570s # .b 570s # .d 570s # .c 570s # .e 570s # .f 570s # .b 570s # .d 570s # .c 570s # .e 570s # .f 570s # .d 570s # .b 570s # .c 571s # .f 571s # .e 571s # .b 571s # .d 571s # .c 571s # .f 571s # .e 571s # .b 571s # .d 571s # .c 571s # .e 571s # .f 571s # .b 571s # .d 571s # .e 571s # .c 571s # .f 571s # .b 571s # .d 571s # .e 571s # .c 571s # .f 571s # .b 571s # .d 571s # .e 571s # .f 571s # .c 571s # .b 571s # .d 571s # .e 571s # .f 571s # .c 571s # .b 571s # .d 571s # .f 571s # .e 571s # .c 571s ok - glib/properties-refcount1.test 571s ok 1 /gobject/refcount/properties-1 571s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 571s # End of refcount tests 571s # End of gobject tests 571s # Running test: glib/proxy-test.test 571s TAP version 14 571s # random seed: R02S3cdf576c0ca6ad29df34533c96baa4b3 571s 1..11 571s # Start of proxy tests 571s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 571s ok 1 /proxy/direct_sync 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790df20 and GSocketClientAsyncConnectData 0x11fe2790d440 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe2790ea40 for GSocketClientAsyncConnectData 0x11fe2790d440 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 571s ok 2 /proxy/direct_async 571s ok 3 /proxy/single_sync 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e500 and GSocketClientAsyncConnectData 0x11fe2790d440 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe2790fba0 for GSocketClientAsyncConnectData 0x11fe2790d440 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 571s ok 4 /proxy/single_async 571s ok 5 /proxy/multiple_sync 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e7f0 and GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe279100e0 for GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe27910080 for GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 571s ok 6 /proxy/multiple_async 571s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 571s ok 7 /proxy/invalid-uris-sync 571s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e3e0 and GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 571s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e500 and GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 571s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e3e0 and GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe2790eaa0 for GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e500 and GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe279102e0 for GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 571s ok 8 /proxy/invalid-uris-async 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790df20 and GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 571s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 571s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe27910400 and GSocketClientAsyncConnectData 0x11fe2790e990 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe2790fa00 for GSocketClientAsyncConnectData 0x11fe2790e990 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 571s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e3e0 and GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe2790eaa0 for GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 571s ok 9 /proxy/dns 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790df20 and GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe2790eaa0 for GSocketClientAsyncConnectData 0x11fe2790e780 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 571s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790e3e0 and GSocketClientAsyncConnectData 0x11fe2790e5c0 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe2790fa00 for GSocketClientAsyncConnectData 0x11fe2790e5c0 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 571s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 571s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x11fe2790df20 and GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 571s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x11fe279100e0 for GSocketClientAsyncConnectData 0x11fe27910270 571s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 571s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 571s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 571s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 571s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 571s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 571s ok 10 /proxy/override 571s ok 11 /proxy/enumerator-ports 571s # End of proxy tests 571s ok - glib/proxy-test.test 571s # Running test: glib/strfuncs.test 571s ok - glib/strfuncs.test 571s TAP version 14 571s # random seed: R02Sf2a3bb763819f2f97e8e49b13cc00de5 571s 1..51 571s # Start of strfuncs tests 571s ok 1 /strfuncs/ascii-strcasecmp 571s ok 2 /strfuncs/ascii_strdown 571s ok 3 /strfuncs/ascii_strdup 571s ok 4 /strfuncs/ascii_strtod 571s ok 5 /strfuncs/bounds-check 571s ok 6 /strfuncs/has-prefix 571s ok 7 /strfuncs/has-prefix-macro 571s ok 8 /strfuncs/has-suffix 571s ok 9 /strfuncs/has-suffix-macro 571s ok 10 /strfuncs/memdup 571s ok 11 /strfuncs/memdup2 571s ok 12 /strfuncs/set_str 571s ok 13 /strfuncs/stpcpy 571s ok 14 /strfuncs/str_match_string 571s ok 15 /strfuncs/str_tokenize_and_fold 571s ok 16 /strfuncs/strcanon 571s ok 17 /strfuncs/strchomp 571s ok 18 /strfuncs/strchug 571s ok 19 /strfuncs/strcompress-strescape 571s ok 20 /strfuncs/strconcat 571s ok 21 /strfuncs/strdelimit 571s ok 22 /strfuncs/strdup 571s ok 23 /strfuncs/strdup-printf 571s ok 24 /strfuncs/strdupv 571s ok 25 /strfuncs/strerror 571s ok 26 /strfuncs/strip-context 571s ok 27 /strfuncs/strjoin 571s ok 28 /strfuncs/strjoinv 571s ok 29 /strfuncs/strlcat 571s ok 30 /strfuncs/strlcpy 571s ok 31 /strfuncs/strncasecmp 571s ok 32 /strfuncs/strndup 571s ok 33 /strfuncs/strnfill 571s ok 34 /strfuncs/strreverse 571s ok 35 /strfuncs/strsignal 571s ok 36 /strfuncs/strsplit 571s ok 37 /strfuncs/strsplit-set 571s ok 38 /strfuncs/strstr 571s ok 39 /strfuncs/strtod 571s ok 40 /strfuncs/strtoull-strtoll 571s ok 41 /strfuncs/strup 571s ok 42 /strfuncs/strv-contains 571s ok 43 /strfuncs/strv-equal 571s ok 44 /strfuncs/strv-length 571s ok 45 /strfuncs/test-is-to-digit 571s ok 46 /strfuncs/transliteration 571s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 571s ok 47 /strfuncs/str-equal 571s ok 48 /strfuncs/str-is-ascii 571s # Start of ascii-string-to-num tests 571s ok 49 /strfuncs/ascii-string-to-num/pathological 571s ok 50 /strfuncs/ascii-string-to-num/usual 571s # End of ascii-string-to-num tests 571s # Start of strdup tests 571s ok 51 /strfuncs/strdup/inline 571s # End of strdup tests 571s # End of strfuncs tests 571s # Running test: glib/cxx-20.test 571s ok - glib/cxx-20.test 571s # Running test: glib/gsubprocess.test 571s TAP version 14 571s # random seed: R02Sd0ceaaf9baa709dcc5a42d78d16e14ad 571s 1..2 571s # Start of gtask tests 571s # 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. 571s ok 1 /gtask/name 571s # Start of name tests 571s # 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. 571s ok 2 /gtask/name/macro-wrapper 571s # End of name tests 571s # End of gtask tests 571s TAP version 14 571s # random seed: R02Sd21780751d0cb1879239b2bedaa2046e 571s 1..84 571s # Start of gsubprocess tests 571s ok 1 /gsubprocess/noop 571s ok 2 /gsubprocess/noop-all-to-null 571s ok 3 /gsubprocess/noop-no-wait 571s ok 4 /gsubprocess/noop-stdin-inherit 571s ok 5 /gsubprocess/search-path 571s ok 6 /gsubprocess/search-path-from-envp 573s # Executing: glib/gsubprocess.test 574s ok 7 /gsubprocess/signal 574s # slow test /gsubprocess/signal executed in 2.79 secs 574s ok 8 /gsubprocess/exit1 574s ok 9 /gsubprocess/echo1 574s ok 10 /gsubprocess/echo-merged 574s ok 11 /gsubprocess/cat-utf8 575s ok 12 /gsubprocess/cat-eof 575s # slow test /gsubprocess/cat-eof executed in 1.00 secs 578s # Executing: glib/gsubprocess.test 578s ok 13 /gsubprocess/multi1 578s # slow test /gsubprocess/multi1 executed in 3.02 secs 578s ok 14 /gsubprocess/communicate 581s ok 15 /gsubprocess/terminate 581s # slow test /gsubprocess/terminate executed in 2.96 secs 581s ok 16 /gsubprocess/fail-initialization 581s ok 17 /gsubprocess/env 581s ok 18 /gsubprocess/cwd 581s ok 19 /gsubprocess/launcher-close 581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 581s ok 20 /gsubprocess/stdout-file 581s ok 21 /gsubprocess/stdout-fd 581s ok 22 /gsubprocess/child-setup 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s ok 23 /gsubprocess/launcher-environment 581s # Start of exit1 tests 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 581s ok 24 /gsubprocess/exit1/cancel 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 581s ok 25 /gsubprocess/exit1/cancel_in_cb 581s # End of exit1 tests 581s # Start of communicate tests 581s ok 26 /gsubprocess/communicate/cancelled 581s ok 27 /gsubprocess/communicate/async 581s ok 28 /gsubprocess/communicate/utf8 581s # hello world 581s ok 29 /gsubprocess/communicate/no-pipes 581s ok 30 /gsubprocess/communicate/separate-stderr 581s ok 31 /gsubprocess/communicate/stdout-only 581s # hello world 581s ok 32 /gsubprocess/communicate/stderr-only 581s ok 33 /gsubprocess/communicate/stdout-silence 581s ok 34 /gsubprocess/communicate/nothing 581s # Start of async tests 581s ok 35 /gsubprocess/communicate/async/cancelled 581s # hello world 581s ok 36 /gsubprocess/communicate/async/no-pipes 581s ok 37 /gsubprocess/communicate/async/separate-stderr 581s ok 38 /gsubprocess/communicate/async/stdout-only 581s # hello world 581s ok 39 /gsubprocess/communicate/async/stderr-only 581s ok 40 /gsubprocess/communicate/async/stdout-silence 581s # Start of cancelled tests 581s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 581s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 581s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 581s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 581s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 581s # End of cancelled tests 581s # End of async tests 581s # Start of utf8 tests 581s ok 46 /gsubprocess/communicate/utf8/cancelled 581s ok 47 /gsubprocess/communicate/utf8/async 581s # hello world 581s ok 48 /gsubprocess/communicate/utf8/no-pipes 581s ok 49 /gsubprocess/communicate/utf8/separate-stderr 581s ok 50 /gsubprocess/communicate/utf8/stdout-only 581s # hello world 581s ok 51 /gsubprocess/communicate/utf8/stderr-only 581s ok 52 /gsubprocess/communicate/utf8/stdout-silence 581s ok 53 /gsubprocess/communicate/utf8/invalid 581s # Start of async tests 581s ok 54 /gsubprocess/communicate/utf8/async/cancelled 581s # hello world 581s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 581s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 581s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 581s # hello world 581s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 581s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 581s ok 60 /gsubprocess/communicate/utf8/async/invalid 581s # Start of cancelled tests 581s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 581s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 581s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 581s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 581s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 581s # End of cancelled tests 581s # End of async tests 581s # Start of cancelled tests 581s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 581s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 581s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 581s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 581s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 581s # End of cancelled tests 581s # End of utf8 tests 581s # Start of cancelled tests 581s ok 71 /gsubprocess/communicate/cancelled/no-pipes 581s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 581s ok 73 /gsubprocess/communicate/cancelled/stdout-only 581s ok 74 /gsubprocess/communicate/cancelled/stderr-only 581s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 581s # End of cancelled tests 581s # End of communicate tests 581s # Start of env tests 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s ok 76 /gsubprocess/env/inherit 581s # End of env tests 581s # Start of pass-fd tests 581s ok 77 /gsubprocess/pass-fd/basic 581s ok 78 /gsubprocess/pass-fd/empty-child-setup 581s ok 79 /gsubprocess/pass-fd/inherit-fds 581s # End of pass-fd tests 581s # Start of fd-conflation tests 581s ok 80 /gsubprocess/fd-conflation/basic 581s ok 81 /gsubprocess/fd-conflation/empty-child-setup 581s ok 82 /gsubprocess/fd-conflation/inherit-fds 581s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 581s # End of fd-conflation tests 581s # Start of exit-status tests 581s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 581s ok 84 /gsubprocess/exit-status/trapped 581s # End of exit-status tests 581s # End of gsubprocess tests 581s ok - glib/gsubprocess.test 581s # Running test: glib/markup-collect.test 581s ok - glib/markup-collect.test 581s TAP version 14 581s # random seed: R02S3bb7cdc6aec3ac59abf29417e19ac769 581s 1..21 581s # Start of markup tests 581s # Start of collect tests 581s ok 1 /markup/collect/0 581s ok 2 /markup/collect/1 581s ok 3 /markup/collect/2 581s ok 4 /markup/collect/3 581s ok 5 /markup/collect/4 581s ok 6 /markup/collect/5 581s ok 7 /markup/collect/6 581s ok 8 /markup/collect/7 581s ok 9 /markup/collect/8 581s ok 10 /markup/collect/9 581s ok 11 /markup/collect/10 581s ok 12 /markup/collect/11 581s ok 13 /markup/collect/12 581s ok 14 /markup/collect/13 581s ok 15 /markup/collect/14 581s ok 16 /markup/collect/15 581s ok 17 /markup/collect/16 581s ok 18 /markup/collect/17 581s ok 19 /markup/collect/18 581s ok 20 /markup/collect/19 581s ok 21 /markup/collect/cleanup 581s # End of collect tests 581s # End of markup tests 581s # Running test: glib/notify-init2.test 581s TAP version 14 581s # random seed: R02Sc4c939712e78af97d37e2518e48061de 581s 1..1 581s # Start of properties tests 581s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 581s ok 1 /properties/notify-in-init2 581s # End of properties tests 581s ok - glib/notify-init2.test 581s # Running test: glib/checksum.test 581s TAP version 14 581s # random seed: R02S3a09e7d7a6cfa22ed156d094e446fa0e 581s 1..1851 581s # Start of checksum tests 581s ok 1 /checksum/unsupported 581s # Start of MD5 tests 581s ok 2 /checksum/MD5/0 581s ok 3 /checksum/MD5/1 581s ok 4 /checksum/MD5/2 581s ok 5 /checksum/MD5/3 581s ok 6 /checksum/MD5/4 581s ok 7 /checksum/MD5/5 581s ok 8 /checksum/MD5/6 581s ok 9 /checksum/MD5/7 581s ok 10 /checksum/MD5/8 581s ok 11 /checksum/MD5/9 581s ok 12 /checksum/MD5/10 581s ok 13 /checksum/MD5/11 581s ok 14 /checksum/MD5/12 581s ok 15 /checksum/MD5/13 581s ok 16 /checksum/MD5/14 581s ok 17 /checksum/MD5/15 581s ok 18 /checksum/MD5/16 581s ok 19 /checksum/MD5/17 581s ok 20 /checksum/MD5/18 581s ok 21 /checksum/MD5/19 581s ok 22 /checksum/MD5/20 581s ok 23 /checksum/MD5/21 581s ok 24 /checksum/MD5/22 581s ok 25 /checksum/MD5/23 581s ok 26 /checksum/MD5/24 581s ok 27 /checksum/MD5/25 581s ok 28 /checksum/MD5/26 581s ok 29 /checksum/MD5/27 581s ok 30 /checksum/MD5/28 581s ok 31 /checksum/MD5/29 581s ok 32 /checksum/MD5/30 581s ok 33 /checksum/MD5/31 581s ok 34 /checksum/MD5/32 581s ok 35 /checksum/MD5/33 581s ok 36 /checksum/MD5/34 581s ok 37 /checksum/MD5/35 581s ok 38 /checksum/MD5/36 581s ok 39 /checksum/MD5/37 581s ok 40 /checksum/MD5/38 581s ok 41 /checksum/MD5/39 581s ok 42 /checksum/MD5/40 581s ok 43 /checksum/MD5/41 581s ok 44 /checksum/MD5/42 581s ok 45 /checksum/MD5/43 581s ok 46 /checksum/MD5/44 581s ok 47 /checksum/MD5/45 581s ok 48 /checksum/MD5/46 581s ok 49 /checksum/MD5/47 581s ok 50 /checksum/MD5/48 581s ok 51 /checksum/MD5/49 581s ok 52 /checksum/MD5/50 581s ok 53 /checksum/MD5/51 581s ok 54 /checksum/MD5/52 581s ok 55 /checksum/MD5/53 581s ok 56 /checksum/MD5/54 581s ok 57 /checksum/MD5/55 581s ok 58 /checksum/MD5/56 581s ok 59 /checksum/MD5/57 581s ok 60 /checksum/MD5/58 581s ok 61 /checksum/MD5/59 581s ok 62 /checksum/MD5/60 581s ok 63 /checksum/MD5/61 581s ok 64 /checksum/MD5/62 581s ok 65 /checksum/MD5/63 581s ok 66 /checksum/MD5/64 581s ok 67 /checksum/MD5/65 581s ok 68 /checksum/MD5/66 581s ok 69 /checksum/MD5/67 581s ok 70 /checksum/MD5/68 581s ok 71 /checksum/MD5/69 581s ok 72 /checksum/MD5/70 581s ok 73 /checksum/MD5/71 581s ok 74 /checksum/MD5/72 581s ok 75 /checksum/MD5/73 581s ok 76 /checksum/MD5/74 581s ok 77 /checksum/MD5/75 581s ok 78 /checksum/MD5/76 581s ok 79 /checksum/MD5/77 581s ok 80 /checksum/MD5/78 581s ok 81 /checksum/MD5/79 581s ok 82 /checksum/MD5/80 581s ok 83 /checksum/MD5/81 581s ok 84 /checksum/MD5/82 581s ok 85 /checksum/MD5/83 581s ok 86 /checksum/MD5/84 581s ok 87 /checksum/MD5/85 581s ok 88 /checksum/MD5/86 581s ok 89 /checksum/MD5/87 581s ok 90 /checksum/MD5/88 581s ok 91 /checksum/MD5/89 581s ok 92 /checksum/MD5/90 581s ok 93 /checksum/MD5/91 581s ok 94 /checksum/MD5/92 581s ok 95 /checksum/MD5/93 581s ok 96 /checksum/MD5/94 581s ok 97 /checksum/MD5/95 581s ok 98 /checksum/MD5/96 581s ok 99 /checksum/MD5/97 581s ok 100 /checksum/MD5/98 581s ok 101 /checksum/MD5/99 581s ok 102 /checksum/MD5/100 581s ok 103 /checksum/MD5/101 581s ok 104 /checksum/MD5/102 581s ok 105 /checksum/MD5/103 581s ok 106 /checksum/MD5/104 581s ok 107 /checksum/MD5/105 581s ok 108 /checksum/MD5/106 581s ok 109 /checksum/MD5/107 581s ok 110 /checksum/MD5/108 581s ok 111 /checksum/MD5/109 581s ok 112 /checksum/MD5/110 581s ok 113 /checksum/MD5/111 581s ok 114 /checksum/MD5/112 581s ok 115 /checksum/MD5/113 581s ok 116 /checksum/MD5/114 581s ok 117 /checksum/MD5/115 581s ok 118 /checksum/MD5/116 581s ok 119 /checksum/MD5/117 581s ok 120 /checksum/MD5/118 581s ok 121 /checksum/MD5/119 581s ok 122 /checksum/MD5/120 581s ok 123 /checksum/MD5/121 581s ok 124 /checksum/MD5/122 581s ok 125 /checksum/MD5/123 581s ok 126 /checksum/MD5/124 581s ok 127 /checksum/MD5/125 581s ok 128 /checksum/MD5/126 581s ok 129 /checksum/MD5/127 581s ok 130 /checksum/MD5/128 581s ok 131 /checksum/MD5/129 581s ok 132 /checksum/MD5/130 581s ok 133 /checksum/MD5/131 581s ok 134 /checksum/MD5/132 581s ok 135 /checksum/MD5/133 581s ok 136 /checksum/MD5/134 581s ok 137 /checksum/MD5/135 581s ok 138 /checksum/MD5/136 581s ok 139 /checksum/MD5/137 581s ok 140 /checksum/MD5/138 581s ok 141 /checksum/MD5/139 581s ok 142 /checksum/MD5/140 581s ok 143 /checksum/MD5/141 581s ok 144 /checksum/MD5/142 581s ok 145 /checksum/MD5/143 581s ok 146 /checksum/MD5/144 581s ok 147 /checksum/MD5/145 581s ok 148 /checksum/MD5/146 581s ok 149 /checksum/MD5/147 581s ok 150 /checksum/MD5/148 581s ok 151 /checksum/MD5/149 581s ok 152 /checksum/MD5/150 581s ok 153 /checksum/MD5/151 581s ok 154 /checksum/MD5/152 581s ok 155 /checksum/MD5/153 581s ok 156 /checksum/MD5/154 581s ok 157 /checksum/MD5/155 581s ok 158 /checksum/MD5/156 581s ok 159 /checksum/MD5/157 581s ok 160 /checksum/MD5/158 581s ok 161 /checksum/MD5/159 581s ok 162 /checksum/MD5/160 581s ok 163 /checksum/MD5/161 581s ok 164 /checksum/MD5/162 581s ok 165 /checksum/MD5/163 581s ok 166 /checksum/MD5/164 581s ok 167 /checksum/MD5/165 581s ok 168 /checksum/MD5/166 581s ok 169 /checksum/MD5/167 581s ok 170 /checksum/MD5/168 581s ok 171 /checksum/MD5/169 581s ok 172 /checksum/MD5/170 581s ok 173 /checksum/MD5/171 581s ok 174 /checksum/MD5/172 581s ok 175 /checksum/MD5/173 581s ok 176 /checksum/MD5/174 581s ok 177 /checksum/MD5/175 581s ok 178 /checksum/MD5/176 581s ok 179 /checksum/MD5/177 581s ok 180 /checksum/MD5/178 581s ok 181 /checksum/MD5/179 581s ok 182 /checksum/MD5/180 581s ok 183 /checksum/MD5/181 581s ok 184 /checksum/MD5/182 581s ok 185 /checksum/MD5/183 581s ok 186 /checksum/MD5/string 581s ok 187 /checksum/MD5/bytes 581s # Start of reset tests 581s ok 188 /checksum/MD5/reset/0 581s ok 189 /checksum/MD5/reset/1 581s ok 190 /checksum/MD5/reset/2 581s ok 191 /checksum/MD5/reset/3 581s ok 192 /checksum/MD5/reset/4 581s ok 193 /checksum/MD5/reset/5 581s ok 194 /checksum/MD5/reset/6 581s ok 195 /checksum/MD5/reset/7 581s ok 196 /checksum/MD5/reset/8 581s ok 197 /checksum/MD5/reset/9 581s ok 198 /checksum/MD5/reset/10 581s ok 199 /checksum/MD5/reset/11 581s ok 200 /checksum/MD5/reset/12 581s ok 201 /checksum/MD5/reset/13 581s ok 202 /checksum/MD5/reset/14 581s ok 203 /checksum/MD5/reset/15 581s ok 204 /checksum/MD5/reset/16 581s ok 205 /checksum/MD5/reset/17 581s ok 206 /checksum/MD5/reset/18 581s ok 207 /checksum/MD5/reset/19 581s ok 208 /checksum/MD5/reset/20 581s ok 209 /checksum/MD5/reset/21 581s ok 210 /checksum/MD5/reset/22 581s ok 211 /checksum/MD5/reset/23 581s ok 212 /checksum/MD5/reset/24 581s ok 213 /checksum/MD5/reset/25 581s ok 214 /checksum/MD5/reset/26 581s ok 215 /checksum/MD5/reset/27 581s ok 216 /checksum/MD5/reset/28 581s ok 217 /checksum/MD5/reset/29 581s ok 218 /checksum/MD5/reset/30 581s ok 219 /checksum/MD5/reset/31 581s ok 220 /checksum/MD5/reset/32 581s ok 221 /checksum/MD5/reset/33 581s ok 222 /checksum/MD5/reset/34 581s ok 223 /checksum/MD5/reset/35 581s ok 224 /checksum/MD5/reset/36 581s ok 225 /checksum/MD5/reset/37 581s ok 226 /checksum/MD5/reset/38 581s ok 227 /checksum/MD5/reset/39 581s ok 228 /checksum/MD5/reset/40 581s ok 229 /checksum/MD5/reset/41 581s ok 230 /checksum/MD5/reset/42 581s ok 231 /checksum/MD5/reset/43 581s ok 232 /checksum/MD5/reset/44 581s ok 233 /checksum/MD5/reset/45 581s ok 234 /checksum/MD5/reset/46 581s ok 235 /checksum/MD5/reset/47 581s ok 236 /checksum/MD5/reset/48 581s ok 237 /checksum/MD5/reset/49 581s ok 238 /checksum/MD5/reset/50 581s ok 239 /checksum/MD5/reset/51 581s ok 240 /checksum/MD5/reset/52 581s ok 241 /checksum/MD5/reset/53 581s ok 242 /checksum/MD5/reset/54 581s ok 243 /checksum/MD5/reset/55 581s ok 244 /checksum/MD5/reset/56 581s ok 245 /checksum/MD5/reset/57 581s ok 246 /checksum/MD5/reset/58 581s ok 247 /checksum/MD5/reset/59 581s ok 248 /checksum/MD5/reset/60 581s ok 249 /checksum/MD5/reset/61 581s ok 250 /checksum/MD5/reset/62 581s ok 251 /checksum/MD5/reset/63 581s ok 252 /checksum/MD5/reset/64 581s ok 253 /checksum/MD5/reset/65 581s ok 254 /checksum/MD5/reset/66 581s ok 255 /checksum/MD5/reset/67 581s ok 256 /checksum/MD5/reset/68 581s ok 257 /checksum/MD5/reset/69 581s ok 258 /checksum/MD5/reset/70 581s ok 259 /checksum/MD5/reset/71 581s ok 260 /checksum/MD5/reset/72 581s ok 261 /checksum/MD5/reset/73 581s ok 262 /checksum/MD5/reset/74 581s ok 263 /checksum/MD5/reset/75 581s ok 264 /checksum/MD5/reset/76 581s ok 265 /checksum/MD5/reset/77 581s ok 266 /checksum/MD5/reset/78 581s ok 267 /checksum/MD5/reset/79 581s ok 268 /checksum/MD5/reset/80 581s ok 269 /checksum/MD5/reset/81 581s ok 270 /checksum/MD5/reset/82 581s ok 271 /checksum/MD5/reset/83 581s ok 272 /checksum/MD5/reset/84 581s ok 273 /checksum/MD5/reset/85 581s ok 274 /checksum/MD5/reset/86 581s ok 275 /checksum/MD5/reset/87 581s ok 276 /checksum/MD5/reset/88 581s ok 277 /checksum/MD5/reset/89 581s ok 278 /checksum/MD5/reset/90 581s ok 279 /checksum/MD5/reset/91 581s ok 280 /checksum/MD5/reset/92 581s ok 281 /checksum/MD5/reset/93 581s ok 282 /checksum/MD5/reset/94 581s ok 283 /checksum/MD5/reset/95 581s ok 284 /checksum/MD5/reset/96 581s ok 285 /checksum/MD5/reset/97 581s ok 286 /checksum/MD5/reset/98 581s ok 287 /checksum/MD5/reset/99 581s ok 288 /checksum/MD5/reset/100 581s ok 289 /checksum/MD5/reset/101 581s ok 290 /checksum/MD5/reset/102 581s ok 291 /checksum/MD5/reset/103 581s ok 292 /checksum/MD5/reset/104 581s ok 293 /checksum/MD5/reset/105 581s ok 294 /checksum/MD5/reset/106 581s ok 295 /checksum/MD5/reset/107 581s ok 296 /checksum/MD5/reset/108 581s ok 297 /checksum/MD5/reset/109 581s ok 298 /checksum/MD5/reset/110 581s ok 299 /checksum/MD5/reset/111 581s ok 300 /checksum/MD5/reset/112 581s ok 301 /checksum/MD5/reset/113 581s ok 302 /checksum/MD5/reset/114 581s ok 303 /checksum/MD5/reset/115 581s ok 304 /checksum/MD5/reset/116 581s ok 305 /checksum/MD5/reset/117 581s ok 306 /checksum/MD5/reset/118 581s ok 307 /checksum/MD5/reset/119 581s ok 308 /checksum/MD5/reset/120 581s ok 309 /checksum/MD5/reset/121 581s ok 310 /checksum/MD5/reset/122 581s ok 311 /checksum/MD5/reset/123 581s ok 312 /checksum/MD5/reset/124 581s ok 313 /checksum/MD5/reset/125 581s ok 314 /checksum/MD5/reset/126 581s ok 315 /checksum/MD5/reset/127 581s ok 316 /checksum/MD5/reset/128 581s ok 317 /checksum/MD5/reset/129 581s ok 318 /checksum/MD5/reset/130 581s ok 319 /checksum/MD5/reset/131 581s ok 320 /checksum/MD5/reset/132 581s ok 321 /checksum/MD5/reset/133 581s ok 322 /checksum/MD5/reset/134 581s ok 323 /checksum/MD5/reset/135 581s ok 324 /checksum/MD5/reset/136 581s ok 325 /checksum/MD5/reset/137 581s ok 326 /checksum/MD5/reset/138 581s ok 327 /checksum/MD5/reset/139 581s ok 328 /checksum/MD5/reset/140 581s ok 329 /checksum/MD5/reset/141 581s ok 330 /checksum/MD5/reset/142 581s ok 331 /checksum/MD5/reset/143 581s ok 332 /checksum/MD5/reset/144 581s ok 333 /checksum/MD5/reset/145 581s ok 334 /checksum/MD5/reset/146 581s ok 335 /checksum/MD5/reset/147 581s ok 336 /checksum/MD5/reset/148 581s ok 337 /checksum/MD5/reset/149 581s ok 338 /checksum/MD5/reset/150 581s ok 339 /checksum/MD5/reset/151 581s ok 340 /checksum/MD5/reset/152 581s ok 341 /checksum/MD5/reset/153 581s ok 342 /checksum/MD5/reset/154 581s ok 343 /checksum/MD5/reset/155 581s ok 344 /checksum/MD5/reset/156 581s ok 345 /checksum/MD5/reset/157 581s ok 346 /checksum/MD5/reset/158 581s ok 347 /checksum/MD5/reset/159 581s ok 348 /checksum/MD5/reset/160 581s ok 349 /checksum/MD5/reset/161 581s ok 350 /checksum/MD5/reset/162 581s ok 351 /checksum/MD5/reset/163 581s ok 352 /checksum/MD5/reset/164 581s ok 353 /checksum/MD5/reset/165 581s ok 354 /checksum/MD5/reset/166 581s ok 355 /checksum/MD5/reset/167 581s ok 356 /checksum/MD5/reset/168 581s ok 357 /checksum/MD5/reset/169 581s ok 358 /checksum/MD5/reset/170 581s ok 359 /checksum/MD5/reset/171 581s ok 360 /checksum/MD5/reset/172 581s ok 361 /checksum/MD5/reset/173 581s ok 362 /checksum/MD5/reset/174 581s ok 363 /checksum/MD5/reset/175 581s ok 364 /checksum/MD5/reset/176 581s ok 365 /checksum/MD5/reset/177 581s ok 366 /checksum/MD5/reset/178 581s ok 367 /checksum/MD5/reset/179 581s ok 368 /checksum/MD5/reset/180 581s ok 369 /checksum/MD5/reset/181 581s ok 370 /checksum/MD5/reset/182 581s ok 371 /checksum/MD5/reset/183 581s # End of reset tests 581s # End of MD5 tests 581s # Start of SHA1 tests 581s ok 372 /checksum/SHA1/0 581s ok 373 /checksum/SHA1/1 581s ok 374 /checksum/SHA1/2 581s ok 375 /checksum/SHA1/3 581s ok 376 /checksum/SHA1/4 581s ok 377 /checksum/SHA1/5 581s ok 378 /checksum/SHA1/6 581s ok 379 /checksum/SHA1/7 581s ok 380 /checksum/SHA1/8 581s ok 381 /checksum/SHA1/9 581s ok 382 /checksum/SHA1/10 581s ok 383 /checksum/SHA1/11 581s ok 384 /checksum/SHA1/12 581s ok 385 /checksum/SHA1/13 581s ok 386 /checksum/SHA1/14 581s ok 387 /checksum/SHA1/15 581s ok 388 /checksum/SHA1/16 581s ok 389 /checksum/SHA1/17 581s ok 390 /checksum/SHA1/18 581s ok 391 /checksum/SHA1/19 581s ok 392 /checksum/SHA1/20 581s ok 393 /checksum/SHA1/21 581s ok 394 /checksum/SHA1/22 581s ok 395 /checksum/SHA1/23 581s ok 396 /checksum/SHA1/24 581s ok 397 /checksum/SHA1/25 581s ok 398 /checksum/SHA1/26 581s ok 399 /checksum/SHA1/27 581s ok 400 /checksum/SHA1/28 581s ok 401 /checksum/SHA1/29 581s ok 402 /checksum/SHA1/30 581s ok 403 /checksum/SHA1/31 581s ok 404 /checksum/SHA1/32 581s ok 405 /checksum/SHA1/33 581s ok 406 /checksum/SHA1/34 581s ok 407 /checksum/SHA1/35 581s ok 408 /checksum/SHA1/36 581s ok 409 /checksum/SHA1/37 581s ok 410 /checksum/SHA1/38 581s ok 411 /checksum/SHA1/39 581s ok 412 /checksum/SHA1/40 581s ok 413 /checksum/SHA1/41 581s ok 414 /checksum/SHA1/42 581s ok 415 /checksum/SHA1/43 581s ok 416 /checksum/SHA1/44 581s ok 417 /checksum/SHA1/45 581s ok 418 /checksum/SHA1/46 581s ok 419 /checksum/SHA1/47 581s ok 420 /checksum/SHA1/48 581s ok 421 /checksum/SHA1/49 581s ok 422 /checksum/SHA1/50 581s ok 423 /checksum/SHA1/51 581s ok 424 /checksum/SHA1/52 581s ok 425 /checksum/SHA1/53 581s ok 426 /checksum/SHA1/54 581s ok 427 /checksum/SHA1/55 581s ok 428 /checksum/SHA1/56 581s ok 429 /checksum/SHA1/57 581s ok 430 /checksum/SHA1/58 581s ok 431 /checksum/SHA1/59 581s ok 432 /checksum/SHA1/60 581s ok 433 /checksum/SHA1/61 581s ok 434 /checksum/SHA1/62 581s ok 435 /checksum/SHA1/63 581s ok 436 /checksum/SHA1/64 581s ok 437 /checksum/SHA1/65 581s ok 438 /checksum/SHA1/66 581s ok 439 /checksum/SHA1/67 581s ok 440 /checksum/SHA1/68 581s ok 441 /checksum/SHA1/69 581s ok 442 /checksum/SHA1/70 581s ok 443 /checksum/SHA1/71 581s ok 444 /checksum/SHA1/72 581s ok 445 /checksum/SHA1/73 581s ok 446 /checksum/SHA1/74 581s ok 447 /checksum/SHA1/75 581s ok 448 /checksum/SHA1/76 581s ok 449 /checksum/SHA1/77 581s ok 450 /checksum/SHA1/78 581s ok 451 /checksum/SHA1/79 581s ok 452 /checksum/SHA1/80 581s ok 453 /checksum/SHA1/81 581s ok 454 /checksum/SHA1/82 581s ok 455 /checksum/SHA1/83 581s ok 456 /checksum/SHA1/84 581s ok 457 /checksum/SHA1/85 581s ok 458 /checksum/SHA1/86 581s ok 459 /checksum/SHA1/87 581s ok 460 /checksum/SHA1/88 581s ok 461 /checksum/SHA1/89 581s ok 462 /checksum/SHA1/90 581s ok 463 /checksum/SHA1/91 581s ok 464 /checksum/SHA1/92 581s ok 465 /checksum/SHA1/93 581s ok 466 /checksum/SHA1/94 581s ok 467 /checksum/SHA1/95 581s ok 468 /checksum/SHA1/96 581s ok 469 /checksum/SHA1/97 581s ok 470 /checksum/SHA1/98 581s ok 471 /checksum/SHA1/99 581s ok 472 /checksum/SHA1/100 581s ok 473 /checksum/SHA1/101 581s ok 474 /checksum/SHA1/102 581s ok 475 /checksum/SHA1/103 581s ok 476 /checksum/SHA1/104 581s ok 477 /checksum/SHA1/105 581s ok 478 /checksum/SHA1/106 581s ok 479 /checksum/SHA1/107 581s ok 480 /checksum/SHA1/108 581s ok 481 /checksum/SHA1/109 581s ok 482 /checksum/SHA1/110 581s ok 483 /checksum/SHA1/111 581s ok 484 /checksum/SHA1/112 581s ok 485 /checksum/SHA1/113 581s ok 486 /checksum/SHA1/114 581s ok 487 /checksum/SHA1/115 581s ok 488 /checksum/SHA1/116 581s ok 489 /checksum/SHA1/117 581s ok 490 /checksum/SHA1/118 581s ok 491 /checksum/SHA1/119 581s ok 492 /checksum/SHA1/120 581s ok 493 /checksum/SHA1/121 581s ok 494 /checksum/SHA1/122 581s ok 495 /checksum/SHA1/123 581s ok 496 /checksum/SHA1/124 581s ok 497 /checksum/SHA1/125 581s ok 498 /checksum/SHA1/126 581s ok 499 /checksum/SHA1/127 581s ok 500 /checksum/SHA1/128 581s ok 501 /checksum/SHA1/129 581s ok 502 /checksum/SHA1/130 581s ok 503 /checksum/SHA1/131 581s ok 504 /checksum/SHA1/132 581s ok 505 /checksum/SHA1/133 581s ok 506 /checksum/SHA1/134 581s ok 507 /checksum/SHA1/135 581s ok 508 /checksum/SHA1/136 581s ok 509 /checksum/SHA1/137 581s ok 510 /checksum/SHA1/138 581s ok 511 /checksum/SHA1/139 581s ok 512 /checksum/SHA1/140 581s ok 513 /checksum/SHA1/141 581s ok 514 /checksum/SHA1/142 581s ok 515 /checksum/SHA1/143 581s ok 516 /checksum/SHA1/144 581s ok 517 /checksum/SHA1/145 581s ok 518 /checksum/SHA1/146 581s ok 519 /checksum/SHA1/147 581s ok 520 /checksum/SHA1/148 581s ok 521 /checksum/SHA1/149 581s ok 522 /checksum/SHA1/150 581s ok 523 /checksum/SHA1/151 581s ok 524 /checksum/SHA1/152 581s ok 525 /checksum/SHA1/153 581s ok 526 /checksum/SHA1/154 581s ok 527 /checksum/SHA1/155 581s ok 528 /checksum/SHA1/156 581s ok 529 /checksum/SHA1/157 581s ok 530 /checksum/SHA1/158 581s ok 531 /checksum/SHA1/159 581s ok 532 /checksum/SHA1/160 581s ok 533 /checksum/SHA1/161 581s ok 534 /checksum/SHA1/162 581s ok 535 /checksum/SHA1/163 581s ok 536 /checksum/SHA1/164 581s ok 537 /checksum/SHA1/165 581s ok 538 /checksum/SHA1/166 581s ok 539 /checksum/SHA1/167 581s ok 540 /checksum/SHA1/168 581s ok 541 /checksum/SHA1/169 581s ok 542 /checksum/SHA1/170 581s ok 543 /checksum/SHA1/171 581s ok 544 /checksum/SHA1/172 581s ok 545 /checksum/SHA1/173 581s ok 546 /checksum/SHA1/174 581s ok 547 /checksum/SHA1/175 581s ok 548 /checksum/SHA1/176 581s ok 549 /checksum/SHA1/177 581s ok 550 /checksum/SHA1/178 581s ok 551 /checksum/SHA1/179 581s ok 552 /checksum/SHA1/180 581s ok 553 /checksum/SHA1/181 581s ok 554 /checksum/SHA1/182 581s ok 555 /checksum/SHA1/183 581s ok 556 /checksum/SHA1/string 581s ok 557 /checksum/SHA1/bytes 581s # Start of reset tests 581s ok 558 /checksum/SHA1/reset/0 581s ok 559 /checksum/SHA1/reset/1 581s ok 560 /checksum/SHA1/reset/2 581s ok 561 /checksum/SHA1/reset/3 581s ok 562 /checksum/SHA1/reset/4 581s ok 563 /checksum/SHA1/reset/5 581s ok 564 /checksum/SHA1/reset/6 581s ok 565 /checksum/SHA1/reset/7 581s ok 566 /checksum/SHA1/reset/8 581s ok 567 /checksum/SHA1/reset/9 581s ok 568 /checksum/SHA1/reset/10 581s ok 569 /checksum/SHA1/reset/11 581s ok 570 /checksum/SHA1/reset/12 581s ok 571 /checksum/SHA1/reset/13 581s ok 572 /checksum/SHA1/reset/14 581s ok 573 /checksum/SHA1/reset/15 581s ok 574 /checksum/SHA1/reset/16 581s ok 575 /checksum/SHA1/reset/17 581s ok 576 /checksum/SHA1/reset/18 581s ok 577 /checksum/SHA1/reset/19 581s ok 578 /checksum/SHA1/reset/20 581s ok 579 /checksum/SHA1/reset/21 581s ok 580 /checksum/SHA1/reset/22 581s ok 581 /checksum/SHA1/reset/23 581s ok 582 /checksum/SHA1/reset/24 581s ok 583 /checksum/SHA1/reset/25 581s ok 584 /checksum/SHA1/reset/26 581s ok 585 /checksum/SHA1/reset/27 581s ok 586 /checksum/SHA1/reset/28 581s ok 587 /checksum/SHA1/reset/29 581s ok 588 /checksum/SHA1/reset/30 581s ok 589 /checksum/SHA1/reset/31 581s ok 590 /checksum/SHA1/reset/32 581s ok 591 /checksum/SHA1/reset/33 581s ok 592 /checksum/SHA1/reset/34 581s ok 593 /checksum/SHA1/reset/35 581s ok 594 /checksum/SHA1/reset/36 581s ok 595 /checksum/SHA1/reset/37 581s ok 596 /checksum/SHA1/reset/38 581s ok 597 /checksum/SHA1/reset/39 581s ok 598 /checksum/SHA1/reset/40 581s ok 599 /checksum/SHA1/reset/41 581s ok 600 /checksum/SHA1/reset/42 581s ok 601 /checksum/SHA1/reset/43 581s ok 602 /checksum/SHA1/reset/44 581s ok 603 /checksum/SHA1/reset/45 581s ok 604 /checksum/SHA1/reset/46 581s ok 605 /checksum/SHA1/reset/47 581s ok 606 /checksum/SHA1/reset/48 581s ok 607 /checksum/SHA1/reset/49 581s ok 608 /checksum/SHA1/reset/50 581s ok 609 /checksum/SHA1/reset/51 581s ok 610 /checksum/SHA1/reset/52 581s ok 611 /checksum/SHA1/reset/53 581s ok 612 /checksum/SHA1/reset/54 581s ok 613 /checksum/SHA1/reset/55 581s ok 614 /checksum/SHA1/reset/56 581s ok 615 /checksum/SHA1/reset/57 581s ok 616 /checksum/SHA1/reset/58 581s ok 617 /checksum/SHA1/reset/59 581s ok 618 /checksum/SHA1/reset/60 581s ok 619 /checksum/SHA1/reset/61 581s ok 620 /checksum/SHA1/reset/62 581s ok 621 /checksum/SHA1/reset/63 581s ok 622 /checksum/SHA1/reset/64 581s ok 623 /checksum/SHA1/reset/65 581s ok 624 /checksum/SHA1/reset/66 581s ok 625 /checksum/SHA1/reset/67 581s ok 626 /checksum/SHA1/reset/68 581s ok 627 /checksum/SHA1/reset/69 581s ok 628 /checksum/SHA1/reset/70 581s ok 629 /checksum/SHA1/reset/71 581s ok 630 /checksum/SHA1/reset/72 581s ok 631 /checksum/SHA1/reset/73 581s ok 632 /checksum/SHA1/reset/74 581s ok 633 /checksum/SHA1/reset/75 581s ok 634 /checksum/SHA1/reset/76 581s ok 635 /checksum/SHA1/reset/77 581s ok 636 /checksum/SHA1/reset/78 581s ok 637 /checksum/SHA1/reset/79 581s ok 638 /checksum/SHA1/reset/80 581s ok 639 /checksum/SHA1/reset/81 581s ok 640 /checksum/SHA1/reset/82 581s ok 641 /checksum/SHA1/reset/83 581s ok 642 /checksum/SHA1/reset/84 581s ok 643 /checksum/SHA1/reset/85 581s ok 644 /checksum/SHA1/reset/86 581s ok 645 /checksum/SHA1/reset/87 581s ok 646 /checksum/SHA1/reset/88 581s ok 647 /checksum/SHA1/reset/89 581s ok 648 /checksum/SHA1/reset/90 581s ok 649 /checksum/SHA1/reset/91 581s ok 650 /checksum/SHA1/reset/92 581s ok 651 /checksum/SHA1/reset/93 581s ok 652 /checksum/SHA1/reset/94 581s ok 653 /checksum/SHA1/reset/95 581s ok 654 /checksum/SHA1/reset/96 581s ok 655 /checksum/SHA1/reset/97 581s ok 656 /checksum/SHA1/reset/98 581s ok 657 /checksum/SHA1/reset/99 581s ok 658 /checksum/SHA1/reset/100 581s ok 659 /checksum/SHA1/reset/101 581s ok 660 /checksum/SHA1/reset/102 581s ok 661 /checksum/SHA1/reset/103 581s ok 662 /checksum/SHA1/reset/104 581s ok 663 /checksum/SHA1/reset/105 581s ok 664 /checksum/SHA1/reset/106 581s ok 665 /checksum/SHA1/reset/107 581s ok 666 /checksum/SHA1/reset/108 581s ok 667 /checksum/SHA1/reset/109 581s ok 668 /checksum/SHA1/reset/110 581s ok 669 /checksum/SHA1/reset/111 581s ok 670 /checksum/SHA1/reset/112 581s ok 671 /checksum/SHA1/reset/113 581s ok 672 /checksum/SHA1/reset/114 581s ok 673 /checksum/SHA1/reset/115 581s ok 674 /checksum/SHA1/reset/116 581s ok 675 /checksum/SHA1/reset/117 581s ok 676 /checksum/SHA1/reset/118 581s ok 677 /checksum/SHA1/reset/119 581s ok 678 /checksum/SHA1/reset/120 581s ok 679 /checksum/SHA1/reset/121 581s ok 680 /checksum/SHA1/reset/122 581s ok 681 /checksum/SHA1/reset/123 581s ok 682 /checksum/SHA1/reset/124 581s ok 683 /checksum/SHA1/reset/125 581s ok 684 /checksum/SHA1/reset/126 581s ok 685 /checksum/SHA1/reset/127 581s ok 686 /checksum/SHA1/reset/128 581s ok 687 /checksum/SHA1/reset/129 581s ok 688 /checksum/SHA1/reset/130 581s ok 689 /checksum/SHA1/reset/131 581s ok 690 /checksum/SHA1/reset/132 581s ok 691 /checksum/SHA1/reset/133 581s ok 692 /checksum/SHA1/reset/134 581s ok 693 /checksum/SHA1/reset/135 581s ok 694 /checksum/SHA1/reset/136 581s ok 695 /checksum/SHA1/reset/137 581s ok 696 /checksum/SHA1/reset/138 581s ok 697 /checksum/SHA1/reset/139 581s ok 698 /checksum/SHA1/reset/140 581s ok 699 /checksum/SHA1/reset/141 581s ok 700 /checksum/SHA1/reset/142 581s ok 701 /checksum/SHA1/reset/143 581s ok 702 /checksum/SHA1/reset/144 581s ok 703 /checksum/SHA1/reset/145 581s ok 704 /checksum/SHA1/reset/146 581s ok 705 /checksum/SHA1/reset/147 581s ok 706 /checksum/SHA1/reset/148 581s ok 707 /checksum/SHA1/reset/149 581s ok 708 /checksum/SHA1/reset/150 581s ok 709 /checksum/SHA1/reset/151 581s ok 710 /checksum/SHA1/reset/152 581s ok 711 /checksum/SHA1/reset/153 581s ok 712 /checksum/SHA1/reset/154 581s ok 713 /checksum/SHA1/reset/155 581s ok 714 /checksum/SHA1/reset/156 581s ok 715 /checksum/SHA1/reset/157 581s ok 716 /checksum/SHA1/reset/158 581s ok 717 /checksum/SHA1/reset/159 581s ok 718 /checksum/SHA1/reset/160 581s ok 719 /checksum/SHA1/reset/161 581s ok 720 /checksum/SHA1/reset/162 581s ok 721 /checksum/SHA1/reset/163 581s ok 722 /checksum/SHA1/reset/164 581s ok 723 /checksum/SHA1/reset/165 581s ok 724 /checksum/SHA1/reset/166 581s ok 725 /checksum/SHA1/reset/167 581s ok 726 /checksum/SHA1/reset/168 581s ok 727 /checksum/SHA1/reset/169 581s ok 728 /checksum/SHA1/reset/170 581s ok 729 /checksum/SHA1/reset/171 581s ok 730 /checksum/SHA1/reset/172 581s ok 731 /checksum/SHA1/reset/173 581s ok 732 /checksum/SHA1/reset/174 581s ok 733 /checksum/SHA1/reset/175 581s ok 734 /checksum/SHA1/reset/176 581s ok 735 /checksum/SHA1/reset/177 581s ok 736 /checksum/SHA1/reset/178 581s ok 737 /checksum/SHA1/reset/179 581s ok 738 /checksum/SHA1/reset/180 581s ok 739 /checksum/SHA1/reset/181 581s ok 740 /checksum/SHA1/reset/182 581s ok 741 /checksum/SHA1/reset/183 581s # End of reset tests 581s # End of SHA1 tests 581s # Start of SHA256 tests 581s ok 742 /checksum/SHA256/0 581s ok 743 /checksum/SHA256/1 581s ok 744 /checksum/SHA256/2 581s ok 745 /checksum/SHA256/3 581s ok 746 /checksum/SHA256/4 581s ok 747 /checksum/SHA256/5 581s ok 748 /checksum/SHA256/6 581s ok 749 /checksum/SHA256/7 581s ok 750 /checksum/SHA256/8 581s ok 751 /checksum/SHA256/9 581s ok 752 /checksum/SHA256/10 581s ok 753 /checksum/SHA256/11 581s ok 754 /checksum/SHA256/12 581s ok 755 /checksum/SHA256/13 581s ok 756 /checksum/SHA256/14 581s ok 757 /checksum/SHA256/15 581s ok 758 /checksum/SHA256/16 581s ok 759 /checksum/SHA256/17 581s ok 760 /checksum/SHA256/18 581s ok 761 /checksum/SHA256/19 581s ok 762 /checksum/SHA256/20 581s ok 763 /checksum/SHA256/21 581s ok 764 /checksum/SHA256/22 581s ok 765 /checksum/SHA256/23 581s ok 766 /checksum/SHA256/24 581s ok 767 /checksum/SHA256/25 581s ok 768 /checksum/SHA256/26 581s ok 769 /checksum/SHA256/27 581s ok 770 /checksum/SHA256/28 581s ok 771 /checksum/SHA256/29 581s ok 772 /checksum/SHA256/30 581s ok 773 /checksum/SHA256/31 581s ok 774 /checksum/SHA256/32 581s ok 775 /checksum/SHA256/33 581s ok 776 /checksum/SHA256/34 581s ok 777 /checksum/SHA256/35 581s ok 778 /checksum/SHA256/36 581s ok 779 /checksum/SHA256/37 581s ok 780 /checksum/SHA256/38 581s ok 781 /checksum/SHA256/39 581s ok 782 /checksum/SHA256/40 581s ok 783 /checksum/SHA256/41 581s ok 784 /checksum/SHA256/42 581s ok 785 /checksum/SHA256/43 581s ok 786 /checksum/SHA256/44 581s ok 787 /checksum/SHA256/45 581s ok 788 /checksum/SHA256/46 581s ok 789 /checksum/SHA256/47 581s ok 790 /checksum/SHA256/48 581s ok 791 /checksum/SHA256/49 581s ok 792 /checksum/SHA256/50 581s ok 793 /checksum/SHA256/51 581s ok 794 /checksum/SHA256/52 581s ok 795 /checksum/SHA256/53 581s ok 796 /checksum/SHA256/54 581s ok 797 /checksum/SHA256/55 581s ok 798 /checksum/SHA256/56 581s ok 799 /checksum/SHA256/57 581s ok 800 /checksum/SHA256/58 581s ok 801 /checksum/SHA256/59 581s ok 802 /checksum/SHA256/60 581s ok 803 /checksum/SHA256/61 581s ok 804 /checksum/SHA256/62 581s ok 805 /checksum/SHA256/63 581s ok 806 /checksum/SHA256/64 581s ok 807 /checksum/SHA256/65 581s ok 808 /checksum/SHA256/66 581s ok 809 /checksum/SHA256/67 581s ok 810 /checksum/SHA256/68 581s ok 811 /checksum/SHA256/69 581s ok 812 /checksum/SHA256/70 581s ok 813 /checksum/SHA256/71 581s ok 814 /checksum/SHA256/72 581s ok 815 /checksum/SHA256/73 581s ok 816 /checksum/SHA256/74 581s ok 817 /checksum/SHA256/75 581s ok 818 /checksum/SHA256/76 581s ok 819 /checksum/SHA256/77 581s ok 820 /checksum/SHA256/78 581s ok 821 /checksum/SHA256/79 581s ok 822 /checksum/SHA256/80 581s ok 823 /checksum/SHA256/81 581s ok 824 /checksum/SHA256/82 581s ok 825 /checksum/SHA256/83 581s ok 826 /checksum/SHA256/84 581s ok 827 /checksum/SHA256/85 581s ok 828 /checksum/SHA256/86 581s ok 829 /checksum/SHA256/87 581s ok 830 /checksum/SHA256/88 581s ok 831 /checksum/SHA256/89 581s ok 832 /checksum/SHA256/90 581s ok 833 /checksum/SHA256/91 581s ok 834 /checksum/SHA256/92 581s ok 835 /checksum/SHA256/93 581s ok 836 /checksum/SHA256/94 581s ok 837 /checksum/SHA256/95 581s ok 838 /checksum/SHA256/96 581s ok 839 /checksum/SHA256/97 581s ok 840 /checksum/SHA256/98 581s ok 841 /checksum/SHA256/99 581s ok 842 /checksum/SHA256/100 581s ok 843 /checksum/SHA256/101 581s ok 844 /checksum/SHA256/102 581s ok 845 /checksum/SHA256/103 581s ok 846 /checksum/SHA256/104 581s ok 847 /checksum/SHA256/105 581s ok 848 /checksum/SHA256/106 581s ok 849 /checksum/SHA256/107 581s ok 850 /checksum/SHA256/108 581s ok 851 /checksum/SHA256/109 581s ok 852 /checksum/SHA256/110 581s ok 853 /checksum/SHA256/111 581s ok 854 /checksum/SHA256/112 581s ok 855 /checksum/SHA256/113 581s ok 856 /checksum/SHA256/114 581s ok 857 /checksum/SHA256/115 581s ok 858 /checksum/SHA256/116 581s ok 859 /checksum/SHA256/117 581s ok 860 /checksum/SHA256/118 581s ok 861 /checksum/SHA256/119 581s ok 862 /checksum/SHA256/120 581s ok 863 /checksum/SHA256/121 581s ok 864 /checksum/SHA256/122 581s ok 865 /checksum/SHA256/123 581s ok 866 /checksum/SHA256/124 581s ok 867 /checksum/SHA256/125 581s ok 868 /checksum/SHA256/126 581s ok 869 /checksum/SHA256/127 581s ok 870 /checksum/SHA256/128 581s ok 871 /checksum/SHA256/129 581s ok 872 /checksum/SHA256/130 581s ok 873 /checksum/SHA256/131 581s ok 874 /checksum/SHA256/132 581s ok 875 /checksum/SHA256/133 581s ok 876 /checksum/SHA256/134 581s ok 877 /checksum/SHA256/135 581s ok 878 /checksum/SHA256/136 581s ok 879 /checksum/SHA256/137 581s ok 880 /checksum/SHA256/138 581s ok 881 /checksum/SHA256/139 581s ok 882 /checksum/SHA256/140 581s ok 883 /checksum/SHA256/141 581s ok 884 /checksum/SHA256/142 581s ok 885 /checksum/SHA256/143 581s ok 886 /checksum/SHA256/144 581s ok 887 /checksum/SHA256/145 581s ok 888 /checksum/SHA256/146 581s ok 889 /checksum/SHA256/147 581s ok 890 /checksum/SHA256/148 581s ok 891 /checksum/SHA256/149 581s ok 892 /checksum/SHA256/150 581s ok 893 /checksum/SHA256/151 581s ok 894 /checksum/SHA256/152 581s ok 895 /checksum/SHA256/153 581s ok 896 /checksum/SHA256/154 581s ok 897 /checksum/SHA256/155 581s ok 898 /checksum/SHA256/156 581s ok 899 /checksum/SHA256/157 581s ok 900 /checksum/SHA256/158 581s ok 901 /checksum/SHA256/159 581s ok 902 /checksum/SHA256/160 581s ok 903 /checksum/SHA256/161 581s ok 904 /checksum/SHA256/162 581s ok 905 /checksum/SHA256/163 581s ok 906 /checksum/SHA256/164 581s ok 907 /checksum/SHA256/165 581s ok 908 /checksum/SHA256/166 581s ok 909 /checksum/SHA256/167 581s ok 910 /checksum/SHA256/168 581s ok 911 /checksum/SHA256/169 581s ok 912 /checksum/SHA256/170 581s ok 913 /checksum/SHA256/171 581s ok 914 /checksum/SHA256/172 581s ok 915 /checksum/SHA256/173 581s ok 916 /checksum/SHA256/174 581s ok 917 /checksum/SHA256/175 581s ok 918 /checksum/SHA256/176 581s ok 919 /checksum/SHA256/177 581s ok 920 /checksum/SHA256/178 581s ok 921 /checksum/SHA256/179 581s ok 922 /checksum/SHA256/180 581s ok 923 /checksum/SHA256/181 581s ok 924 /checksum/SHA256/182 581s ok 925 /checksum/SHA256/183 581s ok 926 /checksum/SHA256/string 581s ok 927 /checksum/SHA256/bytes 581s # Start of reset tests 581s ok 928 /checksum/SHA256/reset/0 581s ok 929 /checksum/SHA256/reset/1 581s ok 930 /checksum/SHA256/reset/2 581s ok 931 /checksum/SHA256/reset/3 581s ok 932 /checksum/SHA256/reset/4 581s ok 933 /checksum/SHA256/reset/5 581s ok 934 /checksum/SHA256/reset/6 581s ok 935 /checksum/SHA256/reset/7 581s ok 936 /checksum/SHA256/reset/8 581s ok 937 /checksum/SHA256/reset/9 581s ok 938 /checksum/SHA256/reset/10 581s ok 939 /checksum/SHA256/reset/11 581s ok 940 /checksum/SHA256/reset/12 581s ok 941 /checksum/SHA256/reset/13 581s ok 942 /checksum/SHA256/reset/14 581s ok 943 /checksum/SHA256/reset/15 581s ok 944 /checksum/SHA256/reset/16 581s ok 945 /checksum/SHA256/reset/17 581s ok 946 /checksum/SHA256/reset/18 581s ok 947 /checksum/SHA256/reset/19 581s ok 948 /checksum/SHA256/reset/20 581s ok 949 /checksum/SHA256/reset/21 581s ok 950 /checksum/SHA256/reset/22 581s ok 951 /checksum/SHA256/reset/23 581s ok 952 /checksum/SHA256/reset/24 581s ok 953 /checksum/SHA256/reset/25 581s ok 954 /checksum/SHA256/reset/26 581s ok 955 /checksum/SHA256/reset/27 581s ok 956 /checksum/SHA256/reset/28 581s ok 957 /checksum/SHA256/reset/29 581s ok 958 /checksum/SHA256/reset/30 581s ok 959 /checksum/SHA256/reset/31 581s ok 960 /checksum/SHA256/reset/32 581s ok 961 /checksum/SHA256/reset/33 581s ok 962 /checksum/SHA256/reset/34 581s ok 963 /checksum/SHA256/reset/35 581s ok 964 /checksum/SHA256/reset/36 581s ok 965 /checksum/SHA256/reset/37 581s ok 966 /checksum/SHA256/reset/38 581s ok 967 /checksum/SHA256/reset/39 581s ok 968 /checksum/SHA256/reset/40 581s ok 969 /checksum/SHA256/reset/41 581s ok 970 /checksum/SHA256/reset/42 581s ok 971 /checksum/SHA256/reset/43 581s ok 972 /checksum/SHA256/reset/44 581s ok 973 /checksum/SHA256/reset/45 581s ok 974 /checksum/SHA256/reset/46 581s ok 975 /checksum/SHA256/reset/47 581s ok 976 /checksum/SHA256/reset/48 581s ok 977 /checksum/SHA256/reset/49 581s ok 978 /checksum/SHA256/reset/50 581s ok 979 /checksum/SHA256/reset/51 581s ok 980 /checksum/SHA256/reset/52 581s ok 981 /checksum/SHA256/reset/53 581s ok 982 /checksum/SHA256/reset/54 581s ok 983 /checksum/SHA256/reset/55 581s ok 984 /checksum/SHA256/reset/56 581s ok 985 /checksum/SHA256/reset/57 581s ok 986 /checksum/SHA256/reset/58 581s ok 987 /checksum/SHA256/reset/59 581s ok 988 /checksum/SHA256/reset/60 581s ok 989 /checksum/SHA256/reset/61 581s ok 990 /checksum/SHA256/reset/62 581s ok 991 /checksum/SHA256/reset/63 581s ok 992 /checksum/SHA256/reset/64 581s ok 993 /checksum/SHA256/reset/65 581s ok 994 /checksum/SHA256/reset/66 581s ok 995 /checksum/SHA256/reset/67 581s ok 996 /checksum/SHA256/reset/68 581s ok 997 /checksum/SHA256/reset/69 581s ok 998 /checksum/SHA256/reset/70 581s ok 999 /checksum/SHA256/reset/71 581s ok 1000 /checksum/SHA256/reset/72 581s ok 1001 /checksum/SHA256/reset/73 581s ok 1002 /checksum/SHA256/reset/74 581s ok 1003 /checksum/SHA256/reset/75 581s ok 1004 /checksum/SHA256/reset/76 581s ok 1005 /checksum/SHA256/reset/77 581s ok 1006 /checksum/SHA256/reset/78 581s ok 1007 /checksum/SHA256/reset/79 581s ok 1008 /checksum/SHA256/reset/80 581s ok 1009 /checksum/SHA256/reset/81 581s ok 1010 /checksum/SHA256/reset/82 581s ok 1011 /checksum/SHA256/reset/83 581s ok 1012 /checksum/SHA256/reset/84 581s ok 1013 /checksum/SHA256/reset/85 581s ok 1014 /checksum/SHA256/reset/86 581s ok 1015 /checksum/SHA256/reset/87 581s ok 1016 /checksum/SHA256/reset/88 581s ok 1017 /checksum/SHA256/reset/89 581s ok 1018 /checksum/SHA256/reset/90 581s ok 1019 /checksum/SHA256/reset/91 581s ok 1020 /checksum/SHA256/reset/92 581s ok 1021 /checksum/SHA256/reset/93 581s ok 1022 /checksum/SHA256/reset/94 581s ok 1023 /checksum/SHA256/reset/95 581s ok 1024 /checksum/SHA256/reset/96 581s ok 1025 /checksum/SHA256/reset/97 581s ok 1026 /checksum/SHA256/reset/98 581s ok 1027 /checksum/SHA256/reset/99 581s ok 1028 /checksum/SHA256/reset/100 581s ok 1029 /checksum/SHA256/reset/101 581s ok 1030 /checksum/SHA256/reset/102 581s ok 1031 /checksum/SHA256/reset/103 581s ok 1032 /checksum/SHA256/reset/104 581s ok 1033 /checksum/SHA256/reset/105 581s ok 1034 /checksum/SHA256/reset/106 581s ok 1035 /checksum/SHA256/reset/107 581s ok 1036 /checksum/SHA256/reset/108 581s ok 1037 /checksum/SHA256/reset/109 581s ok 1038 /checksum/SHA256/reset/110 581s ok 1039 /checksum/SHA256/reset/111 581s ok 1040 /checksum/SHA256/reset/112 581s ok 1041 /checksum/SHA256/reset/113 581s ok 1042 /checksum/SHA256/reset/114 581s ok 1043 /checksum/SHA256/reset/115 581s ok 1044 /checksum/SHA256/reset/116 581s ok 1045 /checksum/SHA256/reset/117 581s ok 1046 /checksum/SHA256/reset/118 581s ok 1047 /checksum/SHA256/reset/119 581s ok 1048 /checksum/SHA256/reset/120 581s ok 1049 /checksum/SHA256/reset/121 581s ok 1050 /checksum/SHA256/reset/122 581s ok 1051 /checksum/SHA256/reset/123 581s ok 1052 /checksum/SHA256/reset/124 581s ok 1053 /checksum/SHA256/reset/125 581s ok 1054 /checksum/SHA256/reset/126 581s ok 1055 /checksum/SHA256/reset/127 581s ok 1056 /checksum/SHA256/reset/128 581s ok 1057 /checksum/SHA256/reset/129 581s ok 1058 /checksum/SHA256/reset/130 581s ok 1059 /checksum/SHA256/reset/131 581s ok 1060 /checksum/SHA256/reset/132 581s ok 1061 /checksum/SHA256/reset/133 581s ok 1062 /checksum/SHA256/reset/134 581s ok 1063 /checksum/SHA256/reset/135 581s ok 1064 /checksum/SHA256/reset/136 581s ok 1065 /checksum/SHA256/reset/137 581s ok 1066 /checksum/SHA256/reset/138 581s ok 1067 /checksum/SHA256/reset/139 581s ok 1068 /checksum/SHA256/reset/140 581s ok 1069 /checksum/SHA256/reset/141 581s ok 1070 /checksum/SHA256/reset/142 581s ok 1071 /checksum/SHA256/reset/143 581s ok 1072 /checksum/SHA256/reset/144 581s ok 1073 /checksum/SHA256/reset/145 581s ok 1074 /checksum/SHA256/reset/146 581s ok 1075 /checksum/SHA256/reset/147 581s ok 1076 /checksum/SHA256/reset/148 581s ok 1077 /checksum/SHA256/reset/149 581s ok 1078 /checksum/SHA256/reset/150 581s ok 1079 /checksum/SHA256/reset/151 581s ok 1080 /checksum/SHA256/reset/152 581s ok 1081 /checksum/SHA256/reset/153 581s ok 1082 /checksum/SHA256/reset/154 581s ok 1083 /checksum/SHA256/reset/155 581s ok 1084 /checksum/SHA256/reset/156 581s ok 1085 /checksum/SHA256/reset/157 581s ok 1086 /checksum/SHA256/reset/158 581s ok 1087 /checksum/SHA256/reset/159 581s ok 1088 /checksum/SHA256/reset/160 581s ok 1089 /checksum/SHA256/reset/161 581s ok 1090 /checksum/SHA256/reset/162 581s ok 1091 /checksum/SHA256/reset/163 581s ok 1092 /checksum/SHA256/reset/164 581s ok 1093 /checksum/SHA256/reset/165 581s ok 1094 /checksum/SHA256/reset/166 581s ok 1095 /checksum/SHA256/reset/167 581s ok 1096 /checksum/SHA256/reset/168 581s ok 1097 /checksum/SHA256/reset/169 581s ok 1098 /checksum/SHA256/reset/170 581s ok 1099 /checksum/SHA256/reset/171 581s ok 1100 /checksum/SHA256/reset/172 581s ok 1101 /checksum/SHA256/reset/173 581s ok 1102 /checksum/SHA256/reset/174 581s ok 1103 /checksum/SHA256/reset/175 581s ok 1104 /checksum/SHA256/reset/176 581s ok 1105 /checksum/SHA256/reset/177 581s ok 1106 /checksum/SHA256/reset/178 581s ok 1107 /checksum/SHA256/reset/179 581s ok 1108 /checksum/SHA256/reset/180 581s ok 1109 /checksum/SHA256/reset/181 581s ok 1110 /checksum/SHA256/reset/182 581s ok 1111 /checksum/SHA256/reset/183 581s # End of reset tests 581s # End of SHA256 tests 581s # Start of SHA384 tests 581s ok 1112 /checksum/SHA384/0 581s ok 1113 /checksum/SHA384/1 581s ok 1114 /checksum/SHA384/2 581s ok 1115 /checksum/SHA384/3 581s ok 1116 /checksum/SHA384/4 581s ok 1117 /checksum/SHA384/5 581s ok 1118 /checksum/SHA384/6 581s ok 1119 /checksum/SHA384/7 581s ok 1120 /checksum/SHA384/8 581s ok 1121 /checksum/SHA384/9 581s ok 1122 /checksum/SHA384/10 581s ok 1123 /checksum/SHA384/11 581s ok 1124 /checksum/SHA384/12 581s ok 1125 /checksum/SHA384/13 581s ok 1126 /checksum/SHA384/14 581s ok 1127 /checksum/SHA384/15 581s ok 1128 /checksum/SHA384/16 581s ok 1129 /checksum/SHA384/17 581s ok 1130 /checksum/SHA384/18 581s ok 1131 /checksum/SHA384/19 581s ok 1132 /checksum/SHA384/20 581s ok 1133 /checksum/SHA384/21 581s ok 1134 /checksum/SHA384/22 581s ok 1135 /checksum/SHA384/23 581s ok 1136 /checksum/SHA384/24 581s ok 1137 /checksum/SHA384/25 581s ok 1138 /checksum/SHA384/26 581s ok 1139 /checksum/SHA384/27 581s ok 1140 /checksum/SHA384/28 581s ok 1141 /checksum/SHA384/29 581s ok 1142 /checksum/SHA384/30 581s ok 1143 /checksum/SHA384/31 581s ok 1144 /checksum/SHA384/32 581s ok 1145 /checksum/SHA384/33 581s ok 1146 /checksum/SHA384/34 581s ok 1147 /checksum/SHA384/35 581s ok 1148 /checksum/SHA384/36 581s ok 1149 /checksum/SHA384/37 581s ok 1150 /checksum/SHA384/38 581s ok 1151 /checksum/SHA384/39 581s ok 1152 /checksum/SHA384/40 581s ok 1153 /checksum/SHA384/41 581s ok 1154 /checksum/SHA384/42 581s ok 1155 /checksum/SHA384/43 581s ok 1156 /checksum/SHA384/44 581s ok 1157 /checksum/SHA384/45 581s ok 1158 /checksum/SHA384/46 581s ok 1159 /checksum/SHA384/47 581s ok 1160 /checksum/SHA384/48 581s ok 1161 /checksum/SHA384/49 581s ok 1162 /checksum/SHA384/50 581s ok 1163 /checksum/SHA384/51 581s ok 1164 /checksum/SHA384/52 581s ok 1165 /checksum/SHA384/53 581s ok 1166 /checksum/SHA384/54 581s ok 1167 /checksum/SHA384/55 581s ok 1168 /checksum/SHA384/56 581s ok 1169 /checksum/SHA384/57 581s ok 1170 /checksum/SHA384/58 581s ok 1171 /checksum/SHA384/59 581s ok 1172 /checksum/SHA384/60 581s ok 1173 /checksum/SHA384/61 581s ok 1174 /checksum/SHA384/62 581s ok 1175 /checksum/SHA384/63 581s ok 1176 /checksum/SHA384/64 581s ok 1177 /checksum/SHA384/65 581s ok 1178 /checksum/SHA384/66 581s ok 1179 /checksum/SHA384/67 581s ok 1180 /checksum/SHA384/68 581s ok 1181 /checksum/SHA384/69 581s ok 1182 /checksum/SHA384/70 581s ok 1183 /checksum/SHA384/71 581s ok 1184 /checksum/SHA384/72 581s ok 1185 /checksum/SHA384/73 581s ok 1186 /checksum/SHA384/74 581s ok 1187 /checksum/SHA384/75 581s ok 1188 /checksum/SHA384/76 581s ok 1189 /checksum/SHA384/77 581s ok 1190 /checksum/SHA384/78 581s ok 1191 /checksum/SHA384/79 581s ok 1192 /checksum/SHA384/80 581s ok 1193 /checksum/SHA384/81 581s ok 1194 /checksum/SHA384/82 581s ok 1195 /checksum/SHA384/83 581s ok 1196 /checksum/SHA384/84 581s ok 1197 /checksum/SHA384/85 581s ok 1198 /checksum/SHA384/86 581s ok 1199 /checksum/SHA384/87 581s ok 1200 /checksum/SHA384/88 581s ok 1201 /checksum/SHA384/89 581s ok 1202 /checksum/SHA384/90 581s ok 1203 /checksum/SHA384/91 581s ok 1204 /checksum/SHA384/92 581s ok 1205 /checksum/SHA384/93 581s ok 1206 /checksum/SHA384/94 581s ok 1207 /checksum/SHA384/95 581s ok 1208 /checksum/SHA384/96 581s ok 1209 /checksum/SHA384/97 581s ok 1210 /checksum/SHA384/98 581s ok 1211 /checksum/SHA384/99 581s ok 1212 /checksum/SHA384/100 581s ok 1213 /checksum/SHA384/101 581s ok 1214 /checksum/SHA384/102 581s ok 1215 /checksum/SHA384/103 581s ok 1216 /checksum/SHA384/104 581s ok 1217 /checksum/SHA384/105 581s ok 1218 /checksum/SHA384/106 581s ok 1219 /checksum/SHA384/107 581s ok 1220 /checksum/SHA384/108 581s ok 1221 /checksum/SHA384/109 581s ok 1222 /checksum/SHA384/110 581s ok 1223 /checksum/SHA384/111 581s ok 1224 /checksum/SHA384/112 581s ok 1225 /checksum/SHA384/113 581s ok 1226 /checksum/SHA384/114 581s ok 1227 /checksum/SHA384/115 581s ok 1228 /checksum/SHA384/116 581s ok 1229 /checksum/SHA384/117 581s ok 1230 /checksum/SHA384/118 581s ok 1231 /checksum/SHA384/119 582s ok 1232 /checksum/SHA384/120 582s ok 1233 /checksum/SHA384/121 582s ok 1234 /checksum/SHA384/122 582s ok 1235 /checksum/SHA384/123 582s ok 1236 /checksum/SHA384/124 582s ok 1237 /checksum/SHA384/125 582s ok 1238 /checksum/SHA384/126 582s ok 1239 /checksum/SHA384/127 582s ok 1240 /checksum/SHA384/128 582s ok 1241 /checksum/SHA384/129 582s ok 1242 /checksum/SHA384/130 582s ok 1243 /checksum/SHA384/131 582s ok 1244 /checksum/SHA384/132 582s ok 1245 /checksum/SHA384/133 582s ok 1246 /checksum/SHA384/134 582s ok 1247 /checksum/SHA384/135 582s ok 1248 /checksum/SHA384/136 582s ok 1249 /checksum/SHA384/137 582s ok 1250 /checksum/SHA384/138 582s ok 1251 /checksum/SHA384/139 582s ok 1252 /checksum/SHA384/140 582s ok 1253 /checksum/SHA384/141 582s ok 1254 /checksum/SHA384/142 582s ok 1255 /checksum/SHA384/143 582s ok 1256 /checksum/SHA384/144 582s ok 1257 /checksum/SHA384/145 582s ok 1258 /checksum/SHA384/146 582s ok 1259 /checksum/SHA384/147 582s ok 1260 /checksum/SHA384/148 582s ok 1261 /checksum/SHA384/149 582s ok 1262 /checksum/SHA384/150 582s ok 1263 /checksum/SHA384/151 582s ok 1264 /checksum/SHA384/152 582s ok 1265 /checksum/SHA384/153 582s ok 1266 /checksum/SHA384/154 582s ok 1267 /checksum/SHA384/155 582s ok 1268 /checksum/SHA384/156 582s ok 1269 /checksum/SHA384/157 582s ok 1270 /checksum/SHA384/158 582s ok 1271 /checksum/SHA384/159 582s ok 1272 /checksum/SHA384/160 582s ok 1273 /checksum/SHA384/161 582s ok 1274 /checksum/SHA384/162 582s ok 1275 /checksum/SHA384/163 582s ok 1276 /checksum/SHA384/164 582s ok 1277 /checksum/SHA384/165 582s ok 1278 /checksum/SHA384/166 582s ok 1279 /checksum/SHA384/167 582s ok 1280 /checksum/SHA384/168 582s ok 1281 /checksum/SHA384/169 582s ok 1282 /checksum/SHA384/170 582s ok 1283 /checksum/SHA384/171 582s ok 1284 /checksum/SHA384/172 582s ok 1285 /checksum/SHA384/173 582s ok 1286 /checksum/SHA384/174 582s ok 1287 /checksum/SHA384/175 582s ok 1288 /checksum/SHA384/176 582s ok 1289 /checksum/SHA384/177 582s ok 1290 /checksum/SHA384/178 582s ok 1291 /checksum/SHA384/179 582s ok 1292 /checksum/SHA384/180 582s ok 1293 /checksum/SHA384/181 582s ok 1294 /checksum/SHA384/182 582s ok 1295 /checksum/SHA384/183 582s ok 1296 /checksum/SHA384/string 582s ok 1297 /checksum/SHA384/bytes 582s # Start of reset tests 582s ok 1298 /checksum/SHA384/reset/0 582s ok 1299 /checksum/SHA384/reset/1 582s ok 1300 /checksum/SHA384/reset/2 582s ok 1301 /checksum/SHA384/reset/3 582s ok 1302 /checksum/SHA384/reset/4 582s ok 1303 /checksum/SHA384/reset/5 582s ok 1304 /checksum/SHA384/reset/6 582s ok 1305 /checksum/SHA384/reset/7 582s ok 1306 /checksum/SHA384/reset/8 582s ok 1307 /checksum/SHA384/reset/9 582s ok 1308 /checksum/SHA384/reset/10 582s ok 1309 /checksum/SHA384/reset/11 582s ok 1310 /checksum/SHA384/reset/12 582s ok 1311 /checksum/SHA384/reset/13 582s ok 1312 /checksum/SHA384/reset/14 582s ok 1313 /checksum/SHA384/reset/15 582s ok 1314 /checksum/SHA384/reset/16 582s ok 1315 /checksum/SHA384/reset/17 582s ok 1316 /checksum/SHA384/reset/18 582s ok 1317 /checksum/SHA384/reset/19 582s ok 1318 /checksum/SHA384/reset/20 582s ok 1319 /checksum/SHA384/reset/21 582s ok 1320 /checksum/SHA384/reset/22 582s ok 1321 /checksum/SHA384/reset/23 582s ok 1322 /checksum/SHA384/reset/24 582s ok 1323 /checksum/SHA384/reset/25 582s ok 1324 /checksum/SHA384/reset/26 582s ok 1325 /checksum/SHA384/reset/27 582s ok 1326 /checksum/SHA384/reset/28 582s ok 1327 /checksum/SHA384/reset/29 582s ok 1328 /checksum/SHA384/reset/30 582s ok 1329 /checksum/SHA384/reset/31 582s ok 1330 /checksum/SHA384/reset/32 582s ok 1331 /checksum/SHA384/reset/33 582s ok 1332 /checksum/SHA384/reset/34 582s ok 1333 /checksum/SHA384/reset/35 582s ok 1334 /checksum/SHA384/reset/36 582s ok 1335 /checksum/SHA384/reset/37 582s ok 1336 /checksum/SHA384/reset/38 582s ok 1337 /checksum/SHA384/reset/39 582s ok 1338 /checksum/SHA384/reset/40 582s ok 1339 /checksum/SHA384/reset/41 582s ok 1340 /checksum/SHA384/reset/42 582s ok 1341 /checksum/SHA384/reset/43 582s ok 1342 /checksum/SHA384/reset/44 582s ok 1343 /checksum/SHA384/reset/45 582s ok 1344 /checksum/SHA384/reset/46 582s ok 1345 /checksum/SHA384/reset/47 582s ok 1346 /checksum/SHA384/reset/48 582s ok 1347 /checksum/SHA384/reset/49 582s ok 1348 /checksum/SHA384/reset/50 582s ok 1349 /checksum/SHA384/reset/51 582s ok 1350 /checksum/SHA384/reset/52 582s ok 1351 /checksum/SHA384/reset/53 582s ok 1352 /checksum/SHA384/reset/54 582s ok 1353 /checksum/SHA384/reset/55 582s ok 1354 /checksum/SHA384/reset/56 582s ok 1355 /checksum/SHA384/reset/57 582s ok 1356 /checksum/SHA384/reset/58 582s ok 1357 /checksum/SHA384/reset/59 582s ok 1358 /checksum/SHA384/reset/60 582s ok 1359 /checksum/SHA384/reset/61 582s ok 1360 /checksum/SHA384/reset/62 582s ok 1361 /checksum/SHA384/reset/63 582s ok 1362 /checksum/SHA384/reset/64 582s ok 1363 /checksum/SHA384/reset/65 582s ok 1364 /checksum/SHA384/reset/66 582s ok 1365 /checksum/SHA384/reset/67 582s ok 1366 /checksum/SHA384/reset/68 582s ok 1367 /checksum/SHA384/reset/69 582s ok 1368 /checksum/SHA384/reset/70 582s ok 1369 /checksum/SHA384/reset/71 582s ok 1370 /checksum/SHA384/reset/72 582s ok 1371 /checksum/SHA384/reset/73 582s ok 1372 /checksum/SHA384/reset/74 582s ok 1373 /checksum/SHA384/reset/75 582s ok 1374 /checksum/SHA384/reset/76 582s ok 1375 /checksum/SHA384/reset/77 582s ok 1376 /checksum/SHA384/reset/78 582s ok 1377 /checksum/SHA384/reset/79 582s ok 1378 /checksum/SHA384/reset/80 582s ok 1379 /checksum/SHA384/reset/81 582s ok 1380 /checksum/SHA384/reset/82 582s ok 1381 /checksum/SHA384/reset/83 582s ok 1382 /checksum/SHA384/reset/84 582s ok 1383 /checksum/SHA384/reset/85 582s ok 1384 /checksum/SHA384/reset/86 582s ok 1385 /checksum/SHA384/reset/87 582s ok 1386 /checksum/SHA384/reset/88 582s ok 1387 /checksum/SHA384/reset/89 582s ok 1388 /checksum/SHA384/reset/90 582s ok 1389 /checksum/SHA384/reset/91 582s ok 1390 /checksum/SHA384/reset/92 582s ok 1391 /checksum/SHA384/reset/93 582s ok 1392 /checksum/SHA384/reset/94 582s ok 1393 /checksum/SHA384/reset/95 582s ok 1394 /checksum/SHA384/reset/96 582s ok 1395 /checksum/SHA384/reset/97 582s ok 1396 /checksum/SHA384/reset/98 582s ok 1397 /checksum/SHA384/reset/99 582s ok 1398 /checksum/SHA384/reset/100 582s ok 1399 /checksum/SHA384/reset/101 582s ok 1400 /checksum/SHA384/reset/102 582s ok 1401 /checksum/SHA384/reset/103 582s ok 1402 /checksum/SHA384/reset/104 582s ok 1403 /checksum/SHA384/reset/105 582s ok 1404 /checksum/SHA384/reset/106 582s ok 1405 /checksum/SHA384/reset/107 582s ok 1406 /checksum/SHA384/reset/108 582s ok 1407 /checksum/SHA384/reset/109 582s ok 1408 /checksum/SHA384/reset/110 582s ok 1409 /checksum/SHA384/reset/111 582s ok 1410 /checksum/SHA384/reset/112 582s ok 1411 /checksum/SHA384/reset/113 582s ok 1412 /checksum/SHA384/reset/114 582s ok 1413 /checksum/SHA384/reset/115 582s ok 1414 /checksum/SHA384/reset/116 582s ok 1415 /checksum/SHA384/reset/117 582s ok 1416 /checksum/SHA384/reset/118 582s ok 1417 /checksum/SHA384/reset/119 582s ok 1418 /checksum/SHA384/reset/120 582s ok 1419 /checksum/SHA384/reset/121 582s ok 1420 /checksum/SHA384/reset/122 582s ok 1421 /checksum/SHA384/reset/123 582s ok 1422 /checksum/SHA384/reset/124 582s ok 1423 /checksum/SHA384/reset/125 582s ok 1424 /checksum/SHA384/reset/126 582s ok 1425 /checksum/SHA384/reset/127 582s ok 1426 /checksum/SHA384/reset/128 582s ok 1427 /checksum/SHA384/reset/129 582s ok 1428 /checksum/SHA384/reset/130 582s ok 1429 /checksum/SHA384/reset/131 582s ok 1430 /checksum/SHA384/reset/132 582s ok 1431 /checksum/SHA384/reset/133 582s ok 1432 /checksum/SHA384/reset/134 582s ok 1433 /checksum/SHA384/reset/135 582s ok 1434 /checksum/SHA384/reset/136 582s ok 1435 /checksum/SHA384/reset/137 582s ok 1436 /checksum/SHA384/reset/138 582s ok 1437 /checksum/SHA384/reset/139 582s ok 1438 /checksum/SHA384/reset/140 582s ok 1439 /checksum/SHA384/reset/141 582s ok 1440 /checksum/SHA384/reset/142 582s ok 1441 /checksum/SHA384/reset/143 582s ok 1442 /checksum/SHA384/reset/144 582s ok 1443 /checksum/SHA384/reset/145 582s ok 1444 /checksum/SHA384/reset/146 582s ok 1445 /checksum/SHA384/reset/147 582s ok 1446 /checksum/SHA384/reset/148 582s ok 1447 /checksum/SHA384/reset/149 582s ok 1448 /checksum/SHA384/reset/150 582s ok 1449 /checksum/SHA384/reset/151 582s ok 1450 /checksum/SHA384/reset/152 582s ok 1451 /checksum/SHA384/reset/153 582s ok 1452 /checksum/SHA384/reset/154 582s ok 1453 /checksum/SHA384/reset/155 582s ok 1454 /checksum/SHA384/reset/156 582s ok 1455 /checksum/SHA384/reset/157 582s ok 1456 /checksum/SHA384/reset/158 582s ok 1457 /checksum/SHA384/reset/159 582s ok 1458 /checksum/SHA384/reset/160 582s ok 1459 /checksum/SHA384/reset/161 582s ok 1460 /checksum/SHA384/reset/162 582s ok 1461 /checksum/SHA384/reset/163 582s ok 1462 /checksum/SHA384/reset/164 582s ok 1463 /checksum/SHA384/reset/165 582s ok 1464 /checksum/SHA384/reset/166 582s ok 1465 /checksum/SHA384/reset/167 582s ok 1466 /checksum/SHA384/reset/168 582s ok 1467 /checksum/SHA384/reset/169 582s ok 1468 /checksum/SHA384/reset/170 582s ok 1469 /checksum/SHA384/reset/171 582s ok 1470 /checksum/SHA384/reset/172 582s ok 1471 /checksum/SHA384/reset/173 582s ok 1472 /checksum/SHA384/reset/174 582s ok 1473 /checksum/SHA384/reset/175 582s ok 1474 /checksum/SHA384/reset/176 582s ok 1475 /checksum/SHA384/reset/177 582s ok 1476 /checksum/SHA384/reset/178 582s ok 1477 /checksum/SHA384/reset/179 582s ok 1478 /checksum/SHA384/reset/180 582s ok 1479 /checksum/SHA384/reset/181 582s ok 1480 /checksum/SHA384/reset/182 582s ok 1481 /checksum/SHA384/reset/183 582s # End of reset tests 582s # End of SHA384 tests 582s # Start of SHA512 tests 582s ok 1482 /checksum/SHA512/0 582s ok 1483 /checksum/SHA512/1 582s ok 1484 /checksum/SHA512/2 582s ok 1485 /checksum/SHA512/3 582s ok 1486 /checksum/SHA512/4 582s ok 1487 /checksum/SHA512/5 582s ok 1488 /checksum/SHA512/6 582s ok 1489 /checksum/SHA512/7 582s ok 1490 /checksum/SHA512/8 582s ok 1491 /checksum/SHA512/9 582s ok 1492 /checksum/SHA512/10 582s ok 1493 /checksum/SHA512/11 582s ok 1494 /checksum/SHA512/12 582s ok 1495 /checksum/SHA512/13 582s ok 1496 /checksum/SHA512/14 582s ok 1497 /checksum/SHA512/15 582s ok 1498 /checksum/SHA512/16 582s ok 1499 /checksum/SHA512/17 582s ok 1500 /checksum/SHA512/18 582s ok 1501 /checksum/SHA512/19 582s ok 1502 /checksum/SHA512/20 582s ok 1503 /checksum/SHA512/21 582s ok 1504 /checksum/SHA512/22 582s ok 1505 /checksum/SHA512/23 582s ok 1506 /checksum/SHA512/24 582s ok 1507 /checksum/SHA512/25 582s ok 1508 /checksum/SHA512/26 582s ok 1509 /checksum/SHA512/27 582s ok 1510 /checksum/SHA512/28 582s ok 1511 /checksum/SHA512/29 582s ok 1512 /checksum/SHA512/30 582s ok 1513 /checksum/SHA512/31 582s ok 1514 /checksum/SHA512/32 582s ok 1515 /checksum/SHA512/33 582s ok 1516 /checksum/SHA512/34 582s ok 1517 /checksum/SHA512/35 582s ok 1518 /checksum/SHA512/36 582s ok 1519 /checksum/SHA512/37 582s ok 1520 /checksum/SHA512/38 582s ok 1521 /checksum/SHA512/39 582s ok 1522 /checksum/SHA512/40 582s ok 1523 /checksum/SHA512/41 582s ok 1524 /checksum/SHA512/42 582s ok 1525 /checksum/SHA512/43 582s ok 1526 /checksum/SHA512/44 582s ok 1527 /checksum/SHA512/45 582s ok 1528 /checksum/SHA512/46 582s ok 1529 /checksum/SHA512/47 582s ok 1530 /checksum/SHA512/48 582s ok 1531 /checksum/SHA512/49 582s ok 1532 /checksum/SHA512/50 582s ok 1533 /checksum/SHA512/51 582s ok 1534 /checksum/SHA512/52 582s ok 1535 /checksum/SHA512/53 582s ok 1536 /checksum/SHA512/54 582s ok 1537 /checksum/SHA512/55 582s ok 1538 /checksum/SHA512/56 582s ok 1539 /checksum/SHA512/57 582s ok 1540 /checksum/SHA512/58 582s ok 1541 /checksum/SHA512/59 582s ok 1542 /checksum/SHA512/60 582s ok 1543 /checksum/SHA512/61 582s ok 1544 /checksum/SHA512/62 582s ok 1545 /checksum/SHA512/63 582s ok 1546 /checksum/SHA512/64 582s ok 1547 /checksum/SHA512/65 582s ok 1548 /checksum/SHA512/66 582s ok 1549 /checksum/SHA512/67 582s ok 1550 /checksum/SHA512/68 582s ok 1551 /checksum/SHA512/69 582s ok 1552 /checksum/SHA512/70 582s ok 1553 /checksum/SHA512/71 582s ok 1554 /checksum/SHA512/72 582s ok 1555 /checksum/SHA512/73 582s ok 1556 /checksum/SHA512/74 582s ok 1557 /checksum/SHA512/75 582s ok 1558 /checksum/SHA512/76 582s ok 1559 /checksum/SHA512/77 582s ok 1560 /checksum/SHA512/78 582s ok 1561 /checksum/SHA512/79 582s ok 1562 /checksum/SHA512/80 582s ok 1563 /checksum/SHA512/81 582s ok 1564 /checksum/SHA512/82 582s ok 1565 /checksum/SHA512/83 582s ok 1566 /checksum/SHA512/84 582s ok 1567 /checksum/SHA512/85 582s ok 1568 /checksum/SHA512/86 582s ok 1569 /checksum/SHA512/87 582s ok 1570 /checksum/SHA512/88 582s ok 1571 /checksum/SHA512/89 582s ok 1572 /checksum/SHA512/90 582s ok 1573 /checksum/SHA512/91 582s ok 1574 /checksum/SHA512/92 582s ok 1575 /checksum/SHA512/93 582s ok 1576 /checksum/SHA512/94 582s ok 1577 /checksum/SHA512/95 582s ok 1578 /checksum/SHA512/96 582s ok 1579 /checksum/SHA512/97 582s ok 1580 /checksum/SHA512/98 582s ok 1581 /checksum/SHA512/99 582s ok 1582 /checksum/SHA512/100 582s ok 1583 /checksum/SHA512/101 582s ok 1584 /checksum/SHA512/102 582s ok 1585 /checksum/SHA512/103 582s ok 1586 /checksum/SHA512/104 582s ok 1587 /checksum/SHA512/105 582s ok 1588 /checksum/SHA512/106 582s ok 1589 /checksum/SHA512/107 582s ok 1590 /checksum/SHA512/108 582s ok 1591 /checksum/SHA512/109 582s ok 1592 /checksum/SHA512/110 582s ok 1593 /checksum/SHA512/111 582s ok 1594 /checksum/SHA512/112 582s ok 1595 /checksum/SHA512/113 582s ok 1596 /checksum/SHA512/114 582s ok 1597 /checksum/SHA512/115 582s ok 1598 /checksum/SHA512/116 582s ok 1599 /checksum/SHA512/117 582s ok 1600 /checksum/SHA512/118 582s ok 1601 /checksum/SHA512/119 582s ok 1602 /checksum/SHA512/120 582s ok 1603 /checksum/SHA512/121 582s ok 1604 /checksum/SHA512/122 582s ok 1605 /checksum/SHA512/123 582s ok 1606 /checksum/SHA512/124 582s ok 1607 /checksum/SHA512/125 582s ok 1608 /checksum/SHA512/126 582s ok 1609 /checksum/SHA512/127 582s ok 1610 /checksum/SHA512/128 582s ok 1611 /checksum/SHA512/129 582s ok 1612 /checksum/SHA512/130 582s ok 1613 /checksum/SHA512/131 582s ok 1614 /checksum/SHA512/132 582s ok 1615 /checksum/SHA512/133 582s ok 1616 /checksum/SHA512/134 582s ok 1617 /checksum/SHA512/135 582s ok 1618 /checksum/SHA512/136 582s ok 1619 /checksum/SHA512/137 582s ok 1620 /checksum/SHA512/138 582s ok 1621 /checksum/SHA512/139 582s ok 1622 /checksum/SHA512/140 582s ok 1623 /checksum/SHA512/141 582s ok 1624 /checksum/SHA512/142 582s ok 1625 /checksum/SHA512/143 582s ok 1626 /checksum/SHA512/144 582s ok 1627 /checksum/SHA512/145 582s ok 1628 /checksum/SHA512/146 582s ok 1629 /checksum/SHA512/147 582s ok 1630 /checksum/SHA512/148 582s ok 1631 /checksum/SHA512/149 582s ok 1632 /checksum/SHA512/150 582s ok 1633 /checksum/SHA512/151 582s ok 1634 /checksum/SHA512/152 582s ok 1635 /checksum/SHA512/153 582s ok 1636 /checksum/SHA512/154 582s ok 1637 /checksum/SHA512/155 582s ok 1638 /checksum/SHA512/156 582s ok 1639 /checksum/SHA512/157 582s ok 1640 /checksum/SHA512/158 582s ok 1641 /checksum/SHA512/159 582s ok 1642 /checksum/SHA512/160 582s ok 1643 /checksum/SHA512/161 582s ok 1644 /checksum/SHA512/162 582s ok 1645 /checksum/SHA512/163 582s ok 1646 /checksum/SHA512/164 582s ok 1647 /checksum/SHA512/165 582s ok 1648 /checksum/SHA512/166 582s ok 1649 /checksum/SHA512/167 582s ok 1650 /checksum/SHA512/168 582s ok 1651 /checksum/SHA512/169 582s ok 1652 /checksum/SHA512/170 582s ok 1653 /checksum/SHA512/171 582s ok 1654 /checksum/SHA512/172 582s ok 1655 /checksum/SHA512/173 582s ok 1656 /checksum/SHA512/174 582s ok 1657 /checksum/SHA512/175 582s ok 1658 /checksum/SHA512/176 582s ok 1659 /checksum/SHA512/177 582s ok 1660 /checksum/SHA512/178 582s ok 1661 /checksum/SHA512/179 582s ok 1662 /checksum/SHA512/180 582s ok 1663 /checksum/SHA512/181 582s ok 1664 /checksum/SHA512/182 582s ok 1665 /checksum/SHA512/183 582s ok 1666 /checksum/SHA512/string 582s ok 1667 /checksum/SHA512/bytes 582s # Start of reset tests 582s ok 1668 /checksum/SHA512/reset/0 582s ok 1669 /checksum/SHA512/reset/1 582s ok 1670 /checksum/SHA512/reset/2 582s ok 1671 /checksum/SHA512/reset/3 582s ok 1672 /checksum/SHA512/reset/4 582s ok 1673 /checksum/SHA512/reset/5 582s ok 1674 /checksum/SHA512/reset/6 582s ok 1675 /checksum/SHA512/reset/7 582s ok 1676 /checksum/SHA512/reset/8 582s ok 1677 /checksum/SHA512/reset/9 582s ok 1678 /checksum/SHA512/reset/10 582s ok 1679 /checksum/SHA512/reset/11 582s ok 1680 /checksum/SHA512/reset/12 582s ok 1681 /checksum/SHA512/reset/13 582s ok 1682 /checksum/SHA512/reset/14 582s ok 1683 /checksum/SHA512/reset/15 582s ok 1684 /checksum/SHA512/reset/16 582s ok 1685 /checksum/SHA512/reset/17 582s ok 1686 /checksum/SHA512/reset/18 582s ok 1687 /checksum/SHA512/reset/19 582s ok 1688 /checksum/SHA512/reset/20 582s ok 1689 /checksum/SHA512/reset/21 582s ok 1690 /checksum/SHA512/reset/22 582s ok 1691 /checksum/SHA512/reset/23 582s ok 1692 /checksum/SHA512/reset/24 582s ok 1693 /checksum/SHA512/reset/25 582s ok 1694 /checksum/SHA512/reset/26 582s ok 1695 /checksum/SHA512/reset/27 582s ok 1696 /checksum/SHA512/reset/28 582s ok 1697 /checksum/SHA512/reset/29 582s ok 1698 /checksum/SHA512/reset/30 582s ok 1699 /checksum/SHA512/reset/31 582s ok 1700 /checksum/SHA512/reset/32 582s ok 1701 /checksum/SHA512/reset/33 582s ok 1702 /checksum/SHA512/reset/34 582s ok 1703 /checksum/SHA512/reset/35 582s ok 1704 /checksum/SHA512/reset/36 582s ok 1705 /checksum/SHA512/reset/37 582s ok 1706 /checksum/SHA512/reset/38 582s ok 1707 /checksum/SHA512/reset/39 582s ok 1708 /checksum/SHA512/reset/40 582s ok 1709 /checksum/SHA512/reset/41 582s ok 1710 /checksum/SHA512/reset/42 582s ok 1711 /checksum/SHA512/reset/43 582s ok 1712 /checksum/SHA512/reset/44 582s ok 1713 /checksum/SHA512/reset/45 582s ok 1714 /checksum/SHA512/reset/46 582s ok 1715 /checksum/SHA512/reset/47 582s ok 1716 /checksum/SHA512/reset/48 582s ok 1717 /checksum/SHA512/reset/49 582s ok 1718 /checksum/SHA512/reset/50 582s ok 1719 /checksum/SHA512/reset/51 582s ok 1720 /checksum/SHA512/reset/52 582s ok 1721 /checksum/SHA512/reset/53 582s ok 1722 /checksum/SHA512/reset/54 582s ok 1723 /checksum/SHA512/reset/55 582s ok 1724 /checksum/SHA512/reset/56 582s ok 1725 /checksum/SHA512/reset/57 582s ok 1726 /checksum/SHA512/reset/58 582s ok 1727 /checksum/SHA512/reset/59 582s ok 1728 /checksum/SHA512/reset/60 582s ok 1729 /checksum/SHA512/reset/61 582s ok 1730 /checksum/SHA512/reset/62 582s ok 1731 /checksum/SHA512/reset/63 582s ok 1732 /checksum/SHA512/reset/64 582s ok 1733 /checksum/SHA512/reset/65 582s ok 1734 /checksum/SHA512/reset/66 582s ok 1735 /checksum/SHA512/reset/67 582s ok 1736 /checksum/SHA512/reset/68 582s ok 1737 /checksum/SHA512/reset/69 582s ok 1738 /checksum/SHA512/reset/70 582s ok 1739 /checksum/SHA512/reset/71 582s ok 1740 /checksum/SHA512/reset/72 582s ok 1741 /checksum/SHA512/reset/73 582s ok 1742 /checksum/SHA512/reset/74 582s ok 1743 /checksum/SHA512/reset/75 582s ok 1744 /checksum/SHA512/reset/76 582s ok 1745 /checksum/SHA512/reset/77 582s ok 1746 /checksum/SHA512/reset/78 582s ok 1747 /checksum/SHA512/reset/79 582s ok 1748 /checksum/SHA512/reset/80 582s ok 1749 /checksum/SHA512/reset/81 582s ok 1750 /checksum/SHA512/reset/82 582s ok 1751 /checksum/SHA512/reset/83 582s ok 1752 /checksum/SHA512/reset/84 582s ok 1753 /checksum/SHA512/reset/85 582s ok 1754 /checksum/SHA512/reset/86 582s ok 1755 /checksum/SHA512/reset/87 582s ok 1756 /checksum/SHA512/reset/88 582s ok 1757 /checksum/SHA512/reset/89 582s ok 1758 /checksum/SHA512/reset/90 582s ok 1759 /checksum/SHA512/reset/91 582s ok 1760 /checksum/SHA512/reset/92 582s ok 1761 /checksum/SHA512/reset/93 582s ok 1762 /checksum/SHA512/reset/94 582s ok 1763 /checksum/SHA512/reset/95 582s ok 1764 /checksum/SHA512/reset/96 582s ok 1765 /checksum/SHA512/reset/97 582s ok 1766 /checksum/SHA512/reset/98 582s ok 1767 /checksum/SHA512/reset/99 582s ok 1768 /checksum/SHA512/reset/100 582s ok 1769 /checksum/SHA512/reset/101 582s ok 1770 /checksum/SHA512/reset/102 582s ok 1771 /checksum/SHA512/reset/103 582s ok 1772 /checksum/SHA512/reset/104 582s ok 1773 /checksum/SHA512/reset/105 582s ok 1774 /checksum/SHA512/reset/106 582s ok 1775 /checksum/SHA512/reset/107 582s ok 1776 /checksum/SHA512/reset/108 582s ok 1777 /checksum/SHA512/reset/109 582s ok 1778 /checksum/SHA512/reset/110 582s ok 1779 /checksum/SHA512/reset/111 582s ok 1780 /checksum/SHA512/reset/112 582s ok 1781 /checksum/SHA512/reset/113 582s ok 1782 /checksum/SHA512/reset/114 582s ok 1783 /checksum/SHA512/reset/115 582s ok 1784 /checksum/SHA512/reset/116 582s ok 1785 /checksum/SHA512/reset/117 582s ok 1786 /checksum/SHA512/reset/118 582s ok 1787 /checksum/SHA512/reset/119 582s ok 1788 /checksum/SHA512/reset/120 582s ok 1789 /checksum/SHA512/reset/121 582s ok 1790 /checksum/SHA512/reset/122 582s ok 1791 /checksum/SHA512/reset/123 582s ok 1792 /checksum/SHA512/reset/124 582s ok 1793 /checksum/SHA512/reset/125 582s ok 1794 /checksum/SHA512/reset/126 582s ok 1795 /checksum/SHA512/reset/127 582s ok 1796 /checksum/SHA512/reset/128 582s ok 1797 /checksum/SHA512/reset/129 582s ok 1798 /checksum/SHA512/reset/130 582s ok 1799 /checksum/SHA512/reset/131 582s ok 1800 /checksum/SHA512/reset/132 582s ok 1801 /checksum/SHA512/reset/133 582s ok 1802 /checksum/SHA512/reset/134 582s ok 1803 /checksum/SHA512/reset/135 582s ok 1804 /checksum/SHA512/reset/136 582s ok 1805 /checksum/SHA512/reset/137 582s ok 1806 /checksum/SHA512/reset/138 582s ok 1807 /checksum/SHA512/reset/139 582s ok 1808 /checksum/SHA512/reset/140 582s ok 1809 /checksum/SHA512/reset/141 582s ok 1810 /checksum/SHA512/reset/142 582s ok 1811 /checksum/SHA512/reset/143 582s ok 1812 /checksum/SHA512/reset/144 582s ok 1813 /checksum/SHA512/reset/145 582s ok 1814 /checksum/SHA512/reset/146 582s ok 1815 /checksum/SHA512/reset/147 582s ok 1816 /checksum/SHA512/reset/148 582s ok 1817 /checksum/SHA512/reset/149 582s ok 1818 /checksum/SHA512/reset/150 582s ok 1819 /checksum/SHA512/reset/151 582s ok 1820 /checksum/SHA512/reset/152 582s ok 1821 /checksum/SHA512/reset/153 582s ok 1822 /checksum/SHA512/reset/154 582s ok 1823 /checksum/SHA512/reset/155 582s ok 1824 /checksum/SHA512/reset/156 582s ok 1825 /checksum/SHA512/reset/157 582s ok 1826 /checksum/SHA512/reset/158 582s ok 1827 /checksum/SHA512/reset/159 582s ok 1828 /checksum/SHA512/reset/160 582s ok 1829 /checksum/SHA512/reset/161 582s ok 1830 /checksum/SHA512/reset/162 582s ok 1831 /checksum/SHA512/reset/163 582s ok 1832 /checksum/SHA512/reset/164 582s ok 1833 /checksum/SHA512/reset/165 582s ok 1834 /checksum/SHA512/reset/166 582s ok 1835 /checksum/SHA512/reset/167 582s ok 1836 /checksum/SHA512/reset/168 582s ok 1837 /checksum/SHA512/reset/169 582s ok 1838 /checksum/SHA512/reset/170 582s ok 1839 /checksum/SHA512/reset/171 582s ok 1840 /checksum/SHA512/reset/172 582s ok 1841 /checksum/SHA512/reset/173 582s ok 1842 /checksum/SHA512/reset/174 582s ok 1843 /checksum/SHA512/reset/175 582s ok 1844 /checksum/SHA512/reset/176 582s ok 1845 /checksum/SHA512/reset/177 582s ok 1846 /checksum/SHA512/reset/178 582s ok 1847 /checksum/SHA512/reset/179 582s ok 1848 /checksum/SHA512/reset/180 582s ok 1849 /checksum/SHA512/reset/181 582s ok 1850 /checksum/SHA512/reset/182 582s ok 1851 /checksum/SHA512/reset/183 582s # End of reset tests 582s # End of SHA512 tests 582s # End of checksum tests 582s ok - glib/checksum.test 582s # Running test: glib/defaultvalue.test 582s TAP version 14 582s # random seed: R02S5b13f6f3710c639106c654bcc6026a3a 582s 1..84 582s # Start of Default Values tests 582s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 582s ok 2 /Default Values/GAppLaunchContext 582s ok 3 /Default Values/GApplicationCommandLine 582s # skipping GApplication:is-remote 582s ok 4 /Default Values/GApplication 582s ok 5 /Default Values/GBinding # SKIP mandatory construct params 582s ok 6 /Default Values/GBindingGroup 582s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 582s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 582s ok 9 /Default Values/GBytesIcon 582s ok 10 /Default Values/GCancellable 582s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 582s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 582s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 582s ok 14 /Default Values/GCredentials 582s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 582s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 582s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 582s ok 18 /Default Values/GDBusAuthObserver 582s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 582s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 582s ok 21 /Default Values/GDBusMessage 582s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 582s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 582s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 582s ok 25 /Default Values/GDBusObjectProxy 582s ok 26 /Default Values/GDBusObjectSkeleton 582s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 582s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 582s ok 29 /Default Values/GEmblem 582s ok 30 /Default Values/GEmblemedIcon 582s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 582s ok 32 /Default Values/GFileInfo 582s ok 33 /Default Values/GFileInputStream 582s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 582s ok 35 /Default Values/GFileOutputStream 582s ok 36 /Default Values/GFilenameCompleter 582s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 582s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 582s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 582s ok 40 /Default Values/GInitiallyUnowned 582s ok 41 /Default Values/GIOModule 582s ok 42 /Default Values/GListStore 582s ok 43 /Default Values/GMemoryInputStream 582s ok 44 /Default Values/GMemoryOutputStream 582s ok 45 /Default Values/GMenu 582s ok 46 /Default Values/GMenuItem 582s ok 47 /Default Values/GMountOperation 582s ok 48 /Default Values/GNativeSocketAddress 582s ok 49 /Default Values/GNetworkAddress 582s ok 50 /Default Values/GNetworkService 582s ok 51 /Default Values/GNotification 582s ok 52 /Default Values/GObject 582s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 582s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 582s # skipping GProxyAddressEnumerator:proxy-resolver 582s ok 54 /Default Values/GProxyAddressEnumerator 582s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 582s ok 56 /Default Values/GSettings # SKIP mandatory construct params 582s ok 57 /Default Values/GSignalGroup 582s ok 58 /Default Values/GSimpleAction 582s ok 59 /Default Values/GSimpleActionGroup 582s ok 60 /Default Values/GSimpleAsyncResult 582s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 582s ok 62 /Default Values/GSimplePermission 582s ok 63 /Default Values/GSimpleProxyResolver 582s # skipping GSocketClient:proxy-resolver 582s ok 64 /Default Values/GSocketClient 582s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 582s ok 66 /Default Values/GSocket # SKIP initialization failed 582s ok 67 /Default Values/GSocketListener 582s ok 68 /Default Values/GSocketService 582s ok 69 /Default Values/GSubprocess # SKIP initialization failed 582s ok 70 /Default Values/GSubprocessLauncher 582s # GLib-GIO-DEBUG: GTask 0x887bdc3b280 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 582s ok 71 /Default Values/GTask 582s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 582s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 582s ok 74 /Default Values/GTestDBus 582s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 582s ok 76 /Default Values/GThreadedSocketService 582s ok 77 /Default Values/GTlsInteraction 582s ok 78 /Default Values/GTlsPassword 582s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 582s ok 80 /Default Values/GUnixFDList 582s ok 81 /Default Values/GVfs 582s ok 82 /Default Values/GVolumeMonitor 582s ok 83 /Default Values/GZlibCompressor 582s ok 84 /Default Values/GZlibDecompressor 582s # End of Default Values tests 582s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 582s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 582s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 582s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 582s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 582s ok - glib/defaultvalue.test 582s # Running test: glib/gthash.test 582s TAP version 14 582s # random seed: R02S616de5faab9fa5a1358263fcd34e380e 582s 1..1 582s # Start of gthash tests 582s ok 1 /gthash/build-retrieve 582s # End of gthash tests 582s ok - glib/gthash.test 582s # Running test: glib/spawn-singlethread.test 582s TAP version 14 582s # random seed: R02S54e867f98e25b95d1951d5ad187e5700 582s 1..9 582s # Start of gthread tests 582s ok 1 /gthread/spawn-single-sync 582s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 582s ok 2 /gthread/spawn-stderr-socket 582s ok 3 /gthread/spawn-single-async 582s # thread 1 582s # thread 1 582s ok 4 /gthread/spawn-single-async-with-fds 582s ok 5 /gthread/spawn-async-with-invalid-fds 582s ok 6 /gthread/spawn-script 582s ok 7 /gthread/spawn-posix-spawn 582s # Start of spawn tests 582s ok 8 /gthread/spawn/nonexistent 582s # FD map: 582s # • 5 → 15 582s # • 6 → 16 582s # • 7 → 17 582s # • 8 → 18 582s # • 9 → 19 582s # • 10 → 20 582s # • 11 → 21 582s # • 12 → 22 582s # • 13 → 23 582s # • 3 → 13 582s ok 9 /gthread/spawn/fd-assignment-clash 582s # End of spawn tests 582s # End of gthread tests 582s ok - glib/spawn-singlethread.test 582s # Running test: glib/cxx-03.test 582s TAP version 14 582s # random seed: R02Se9e3f7d3e2560005e76c075c81a4c04f 582s 1..2 582s # Start of gtask tests 582s # 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. 582s ok 1 /gtask/name 582s # Start of name tests 582s # 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. 582s ok 2 /gtask/name/macro-wrapper 582s # End of name tests 582s # End of gtask tests 582s ok - glib/cxx-03.test 582s # Running test: glib/utils-c-89.test 582s TAP version 14 582s # random seed: R02S5b30b8f31da1c6dfdd1029ceddcff081 582s 1..41 582s # Start of utils tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/language-names/.dirs/runtime 582s ok 1 /utils/language-names 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/locale-variants/.dirs/runtime 582s # Testing locale ‘en’ 582s # Testing locale ‘sr@latin’ 582s # Testing locale ‘fr_BE’ 582s # Testing locale ‘sr_SR@latin’ 582s # Testing locale ‘sr_SR@latin.UTF-8’ 582s # Testing locale ‘sr@latin_invalid’ 582s # Testing locale ‘sr.UTF-8@latin’ 582s # Testing locale ‘sr.UTF-8_latin’ 582s # Testing locale ‘sr.UTF-8@latin_invalid’ 582s ok 2 /utils/locale-variants 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/version/.dirs/runtime 582s ok 3 /utils/version 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/appname/.dirs/runtime 582s ok 4 /utils/appname 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/prgname-thread-safety/.dirs/runtime 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 582s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 582s ok 5 /utils/prgname-thread-safety 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/tmpdir/.dirs/runtime 582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 582s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 582s Unable to clean up temporary directory /tmp/test_utils-c-89_GSLPK3/utils/tmpdir: No such file or directory 582s ok 6 /utils/tmpdir 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/basic_bits/.dirs/runtime 582s ok 7 /utils/basic_bits 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/bits/.dirs/runtime 582s ok 8 /utils/bits 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/swap/.dirs/runtime 582s ok 9 /utils/swap 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/find-program/.dirs/runtime 582s ok 10 /utils/find-program 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/find-program-for-path/.dirs/runtime 582s ok 11 /utils/find-program-for-path 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/debug/.dirs/runtime 582s Unable to clean up temporary directory /tmp/test_utils-c-89_GSLPK3/utils/debug: No such file or directory 582s ok 12 /utils/debug 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/codeset/.dirs/runtime 582s ok 13 /utils/codeset 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/codeset2/.dirs/runtime 582s Unable to clean up temporary directory /tmp/test_utils-c-89_GSLPK3/utils/codeset2: No such file or directory 582s ok 14 /utils/codeset2 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/console-charset/.dirs/runtime 582s ok 15 /utils/console-charset 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/gettext/.dirs/runtime 582s ok 16 /utils/gettext 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/username/.dirs/runtime 582s ok 17 /utils/username 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/realname/.dirs/runtime 582s ok 18 /utils/realname 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/hostname/.dirs/runtime 582s ok 19 /utils/hostname 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/os-info/.dirs/runtime 582s # NAME: Ubuntu 582s ok 20 /utils/os-info 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/.dirs/runtime 582s ok 21 /utils/clear-pointer 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer-cast/.dirs/runtime 582s ok 22 /utils/clear-pointer-cast 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/take-pointer/.dirs/runtime 582s ok 23 /utils/take-pointer 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/clear-source/.dirs/runtime 582s ok 24 /utils/clear-source 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/misc-mem/.dirs/runtime 582s ok 25 /utils/misc-mem 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/.dirs/runtime 582s # /utils/aligned-mem summary: Aligned memory allocator 582s # Alignment must not be zero 582s # Alignment must be a power of two 582s # Alignment must be a multiple of sizeof(void*) 582s ok 26 /utils/aligned-mem 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/free-sized/.dirs/runtime 582s # /utils/free-sized summary: Check that g_free_sized() works 582s ok 27 /utils/free-sized 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/nullify/.dirs/runtime 582s ok 28 /utils/nullify 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/atexit/.dirs/runtime 582s Unable to clean up temporary directory /tmp/test_utils-c-89_GSLPK3/utils/atexit: No such file or directory 582s ok 29 /utils/atexit 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/check-setuid/.dirs/runtime 582s ok 30 /utils/check-setuid 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/int-limits/.dirs/runtime 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 582s ok 31 /utils/int-limits 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/clear-list/.dirs/runtime 582s ok 32 /utils/clear-list 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/clear-slist/.dirs/runtime 582s ok 33 /utils/clear-slist 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/steal-handle-id/.dirs/runtime 582s ok 34 /utils/steal-handle-id 582s # Start of user-special-dirs tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/desktop/.dirs/runtime 582s ok 35 /utils/user-special-dirs/desktop 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 582s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 582s Unable to clean up temporary directory /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/load-unlocked: No such file or directory 582s ok 36 /utils/user-special-dirs/load-unlocked 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 582s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 582s Unable to clean up temporary directory /tmp/test_utils-c-89_GSLPK3/utils/user-special-dirs/reload-leaks: No such file or directory 582s ok 37 /utils/user-special-dirs/reload-leaks 582s # End of user-special-dirs tests 582s # Start of clear-pointer tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/clear-pointer/side-effects/.dirs/runtime 582s ok 38 /utils/clear-pointer/side-effects 582s # End of clear-pointer tests 582s # Start of aligned-mem tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/alignment/.dirs/runtime 582s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 582s ok 39 /utils/aligned-mem/alignment 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/zeroed/.dirs/runtime 582s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 582s ok 40 /utils/aligned-mem/zeroed 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_GSLPK3/utils/aligned-mem/free-sized/.dirs/runtime 582s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 582s ok 41 /utils/aligned-mem/free-sized 582s # Start of subprocess tests 582s # End of subprocess tests 582s # End of aligned-mem tests 582s # End of utils tests 582s ok - glib/utils-c-89.test 582s # Running test: glib/utils-c-99.test 582s TAP version 14 582s # random seed: R02Sc8defcd8f62995adfbb3060d4b9a908b 582s 1..41 582s # Start of utils tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/language-names/.dirs/runtime 582s ok 1 /utils/language-names 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/locale-variants/.dirs/runtime 582s # Testing locale ‘en’ 582s # Testing locale ‘sr@latin’ 582s # Testing locale ‘fr_BE’ 582s # Testing locale ‘sr_SR@latin’ 582s # Testing locale ‘sr_SR@latin.UTF-8’ 582s # Testing locale ‘sr@latin_invalid’ 582s # Testing locale ‘sr.UTF-8@latin’ 582s # Testing locale ‘sr.UTF-8_latin’ 582s # Testing locale ‘sr.UTF-8@latin_invalid’ 582s ok 2 /utils/locale-variants 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/version/.dirs/runtime 582s ok 3 /utils/version 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/appname/.dirs/runtime 582s ok 4 /utils/appname 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/prgname-thread-safety/.dirs/runtime 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 582s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 582s ok 5 /utils/prgname-thread-safety 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/tmpdir/.dirs/runtime 582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 582s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 582s Unable to clean up temporary directory /tmp/test_utils-c-99_6SCMK3/utils/tmpdir: No such file or directory 582s ok 6 /utils/tmpdir 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/basic_bits/.dirs/runtime 582s ok 7 /utils/basic_bits 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/bits/.dirs/runtime 582s ok 8 /utils/bits 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/swap/.dirs/runtime 582s ok 9 /utils/swap 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/find-program/.dirs/runtime 582s ok 10 /utils/find-program 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/find-program-for-path/.dirs/runtime 582s ok 11 /utils/find-program-for-path 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/debug/.dirs/runtime 582s Unable to clean up temporary directory /tmp/test_utils-c-99_6SCMK3/utils/debug: No such file or directory 582s ok 12 /utils/debug 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/codeset/.dirs/runtime 582s ok 13 /utils/codeset 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/codeset2/.dirs/runtime 582s Unable to clean up temporary directory /tmp/test_utils-c-99_6SCMK3/utils/codeset2: No such file or directory 582s ok 14 /utils/codeset2 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/console-charset/.dirs/runtime 582s ok 15 /utils/console-charset 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/gettext/.dirs/runtime 582s ok 16 /utils/gettext 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/username/.dirs/runtime 582s ok 17 /utils/username 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/realname/.dirs/runtime 582s ok 18 /utils/realname 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/hostname/.dirs/runtime 582s ok 19 /utils/hostname 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/os-info/.dirs/runtime 582s # NAME: Ubuntu 582s ok 20 /utils/os-info 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/.dirs/runtime 582s ok 21 /utils/clear-pointer 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer-cast/.dirs/runtime 582s ok 22 /utils/clear-pointer-cast 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/take-pointer/.dirs/runtime 582s ok 23 /utils/take-pointer 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/clear-source/.dirs/runtime 582s ok 24 /utils/clear-source 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/misc-mem/.dirs/runtime 582s ok 25 /utils/misc-mem 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/.dirs/runtime 582s # /utils/aligned-mem summary: Aligned memory allocator 582s # Alignment must not be zero 582s # Alignment must be a power of two 582s # Alignment must be a multiple of sizeof(void*) 582s ok 26 /utils/aligned-mem 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/free-sized/.dirs/runtime 582s # /utils/free-sized summary: Check that g_free_sized() works 582s ok 27 /utils/free-sized 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/nullify/.dirs/runtime 582s ok 28 /utils/nullify 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/atexit/.dirs/runtime 582s Unable to clean up temporary directory /tmp/test_utils-c-99_6SCMK3/utils/atexit: No such file or directory 582s ok 29 /utils/atexit 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/check-setuid/.dirs/runtime 582s ok 30 /utils/check-setuid 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/int-limits/.dirs/runtime 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 582s ok 31 /utils/int-limits 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/clear-list/.dirs/runtime 582s ok 32 /utils/clear-list 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/clear-slist/.dirs/runtime 582s ok 33 /utils/clear-slist 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/steal-handle-id/.dirs/runtime 582s ok 34 /utils/steal-handle-id 582s # Start of user-special-dirs tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/desktop/.dirs/runtime 582s ok 35 /utils/user-special-dirs/desktop 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 582s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 582s Unable to clean up temporary directory /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/load-unlocked: No such file or directory 582s ok 36 /utils/user-special-dirs/load-unlocked 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 582s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 582s Unable to clean up temporary directory /tmp/test_utils-c-99_6SCMK3/utils/user-special-dirs/reload-leaks: No such file or directory 582s ok 37 /utils/user-special-dirs/reload-leaks 582s # End of user-special-dirs tests 582s # Start of clear-pointer tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/clear-pointer/side-effects/.dirs/runtime 582s ok 38 /utils/clear-pointer/side-effects 582s # End of clear-pointer tests 582s # Start of aligned-mem tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/alignment/.dirs/runtime 582s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 582s ok 39 /utils/aligned-mem/alignment 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/zeroed/.dirs/runtime 582s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 582s ok 40 /utils/aligned-mem/zeroed 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_6SCMK3/utils/aligned-mem/free-sized/.dirs/runtime 582s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 582s ok 41 /utils/aligned-mem/free-sized 582s # Start of subprocess tests 582s # End of subprocess tests 582s # End of aligned-mem tests 582s # End of utils tests 582s ok - glib/utils-c-99.test 582s # Running test: glib/memory-monitor-dbus.test 582s TAP version 13 582s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 582s 1..1 582s ok - glib/memory-monitor-dbus.test 582s # Running test: glib/gdatetime.test 582s TAP version 14 582s # random seed: R02S1f1d67f4a7218515603cdd712f9f58b3 582s 1..68 582s # Start of GDateTime tests 582s # Bug Reference: http://bugzilla.gnome.org/702674 582s ok 1 /GDateTime/invalid 582s ok 2 /GDateTime/add_days 582s ok 3 /GDateTime/add_full 582s ok 4 /GDateTime/add_hours 582s ok 5 /GDateTime/add_minutes 582s ok 6 /GDateTime/add_months 582s ok 7 /GDateTime/add_seconds 582s ok 8 /GDateTime/add_weeks 582s ok 9 /GDateTime/add_years 582s ok 10 /GDateTime/compare 582s ok 11 /GDateTime/diff 582s ok 12 /GDateTime/equal 582s ok 13 /GDateTime/get_day_of_week 582s ok 14 /GDateTime/get_day_of_month 582s ok 15 /GDateTime/get_day_of_year 582s ok 16 /GDateTime/get_hour 582s ok 17 /GDateTime/get_microsecond 582s ok 18 /GDateTime/get_minute 582s ok 19 /GDateTime/get_month 582s ok 20 /GDateTime/get_second 582s ok 21 /GDateTime/get_utc_offset 582s ok 22 /GDateTime/get_year 582s ok 23 /GDateTime/hash 582s ok 24 /GDateTime/new_from_unix 582s ok 25 /GDateTime/new_from_unix_utc 582s ok 26 /GDateTime/new_from_timeval 582s ok 27 /GDateTime/new_from_timeval_utc 582s ok 28 /GDateTime/new_from_iso8601 582s ok 29 /GDateTime/new_full 582s ok 30 /GDateTime/now 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 582s ok 31 /GDateTime/test-6-days-until-end-of-the-month 582s # %a -> expected: Sat 582s # %a -> actual: Sat 582s # %A -> expected: Saturday 582s # %A -> actual: Saturday 582s # %b -> expected: Oct 582s # %b -> actual: Oct 582s # %B -> expected: October 582s # %B -> actual: October 582s # %d -> expected: 24 582s # %d -> actual: 24 582s # %d -> expected: 01 582s # %d -> actual: 01 582s # %e -> expected: 24 582s # %e -> actual: 24 582s # %e -> expected:  1 582s # %e -> actual:  1 582s # %f -> expected: 001000 582s # %f -> actual: 001000 582s # %h -> expected: Oct 582s # %h -> actual: Oct 582s # %H -> expected: 00 582s # %H -> actual: 00 582s # %H -> expected: 15 582s # %H -> actual: 15 582s # %I -> expected: 12 582s # %I -> actual: 12 582s # %I -> expected: 12 582s # %I -> actual: 12 582s # %I -> expected: 03 582s # %I -> actual: 03 582s # %j -> expected: 297 582s # %j -> actual: 297 582s # %k -> expected:  0 582s # %k -> actual:  0 582s # %k -> expected: 13 582s # %k -> actual: 13 582s # %l -> expected: 12 582s # %l -> actual: 12 582s # %I -> expected: 12 582s # %I -> actual: 12 582s # %l -> expected:  1 582s # %l -> actual:  1 582s # %l -> expected: 10 582s # %l -> actual: 10 582s # %m -> expected: 10 582s # %m -> actual: 10 582s # %M -> expected: 00 582s # %M -> actual: 00 582s # %p -> expected: AM 582s # %p -> actual: AM 582s # %p -> expected: PM 582s # %p -> actual: PM 582s # %P -> expected: am 582s # %P -> actual: am 582s # %P -> expected: pm 582s # %P -> actual: pm 582s # %r -> expected: 12:00:00 AM 582s # %r -> actual: 12:00:00 AM 582s # %r -> expected: 01:13:13 PM 582s # %r -> actual: 01:13:13 PM 582s # %R -> expected: 00:00 582s # %R -> actual: 00:00 582s # %R -> expected: 13:13 582s # %R -> actual: 13:13 582s # %S -> expected: 00 582s # %S -> actual: 00 582s # %t -> expected: 582s # %t -> actual: 582s # %u -> expected: 6 582s # %u -> actual: 6 582s # %x -> expected: 10/24/09 582s # %x -> actual: 10/24/09 582s # %X -> expected: 00:00:00 582s # %X -> actual: 00:00:00 582s # %X -> expected: 13:14:15 582s # %X -> actual: 13:14:15 582s # %y -> expected: 09 582s # %y -> actual: 09 582s # %Y -> expected: 2009 582s # %Y -> actual: 2009 582s # %% -> expected: % 582s # %% -> actual: % 582s # % -> expected: 582s # % -> actual: 582s # %9 -> expected: (null) 582s # %9 -> actual: (null) 582s # %Z -> expected: UTC 582s # %Z -> actual: UTC 582s # %#Z %Z -> expected: utc UTC 582s # %#Z %Z -> actual: utc UTC 582s ok 32 /GDateTime/printf 582s # %a -> expected: 土 582s # %a -> actual: 土 582s # %A -> expected: 土曜日 582s # %A -> actual: 土曜日 582s # %b -> expected: 10月 582s # %b -> actual: 10月 582s # %B -> expected: 10月 582s # %B -> actual: 10月 582s # %c -> expected: 2009年10月24日 00時00分00秒 582s # %c -> actual: 2009年10月24日 00時00分00秒 582s # %C -> expected: 20 582s # %C -> actual: 20 582s # %d -> expected: 24 582s # %d -> actual: 24 582s # %d -> expected: 01 582s # %d -> actual: 01 582s # %e -> expected: 24 582s # %e -> actual: 24 582s # %h -> expected: 10月 582s # %h -> actual: 10月 582s # %H -> expected: 00 582s # %H -> actual: 00 582s # %H -> expected: 15 582s # %H -> actual: 15 582s # %I -> expected: 12 582s # %I -> actual: 12 582s # %I -> expected: 12 582s # %I -> actual: 12 582s # %I -> expected: 03 582s # %I -> actual: 03 582s # %j -> expected: 297 582s # %j -> actual: 297 582s # %k -> expected:  0 582s # %k -> actual:  0 582s # %k -> expected: 13 582s # %k -> actual: 13 582s # %l -> expected: 12 582s # %l -> actual: 12 582s # %I -> expected: 12 582s # %I -> actual: 12 582s # %l -> expected:  1 582s # %l -> actual:  1 582s # %l -> expected: 10 582s # %l -> actual: 10 582s # %m -> expected: 10 582s # %m -> actual: 10 582s # %M -> expected: 00 582s # %M -> actual: 00 582s # %p -> expected: 午前 582s # %p -> actual: 午前 582s # %p -> expected: 午後 582s # %p -> actual: 午後 582s # %P -> expected: 午前 582s # %P -> actual: 午前 582s # %P -> expected: 午後 582s # %P -> actual: 午後 582s # %r -> expected: 午前12時00分00秒 582s # %r -> actual: 午前12時00分00秒 582s # %r -> expected: 午後01時13分13秒 582s # %r -> actual: 午後01時13分13秒 582s # %R -> expected: 00:00 582s # %R -> actual: 00:00 582s # %R -> expected: 13:13 582s # %R -> actual: 13:13 582s # %S -> expected: 00 582s # %S -> actual: 00 582s # %t -> expected: 582s # %t -> actual: 582s # %u -> expected: 6 582s # %u -> actual: 6 582s # %x -> expected: 2009年10月24日 582s # %x -> actual: 2009年10月24日 582s # %X -> expected: 00時00分00秒 582s # %X -> actual: 00時00分00秒 582s # %X -> expected: 13時14分15秒 582s # %X -> actual: 13時14分15秒 582s # %y -> expected: 09 582s # %y -> actual: 09 582s # %Y -> expected: 2009 582s # %Y -> actual: 2009 582s # %% -> expected: % 582s # %% -> actual: % 582s # % -> expected: 582s # % -> actual: 582s # %9 -> expected: (null) 582s # %9 -> actual: (null) 582s # %Ec -> expected: 平成21年10月24日 00時00分00秒 582s # %Ec -> actual: 平成21年10月24日 00時00分00秒 582s # %EC -> expected: 平成 582s # %EC -> actual: 平成 582s # %Ex -> expected: 平成21年10月24日 582s # %Ex -> actual: 平成21年10月24日 582s # %EX -> expected: 00時00分00秒 582s # %EX -> actual: 00時00分00秒 582s # %Ey -> expected: 21 582s # %Ey -> actual: 21 582s # %EY -> expected: 平成21年 582s # %EY -> actual: 平成21年 582s ok 33 /GDateTime/non_utf8_printf 582s # ąśćł -> expected: ąśćł 582s # ąśćł -> actual: ąśćł 582s # %H∶%M -> expected: 23∶15 582s # %H∶%M -> actual: 23∶15 582s # %H∶%M -> expected: 23∶15 582s # %H∶%M -> actual: 23∶15 582s ok 34 /GDateTime/format_unrepresentable 582s ok 35 /GDateTime/format_iso8601 582s ok 36 /GDateTime/strftime 582s # %d -> expected: 01 582s # %d -> actual: 01 582s # %_d -> expected: 1 582s # %_d -> actual: 1 582s # %-d -> expected: 1 582s # %-d -> actual: 1 582s # %0d -> expected: 01 582s # %0d -> actual: 01 582s # %d -> expected: 21 582s # %d -> actual: 21 582s # %_d -> expected: 21 582s # %_d -> actual: 21 582s # %-d -> expected: 21 582s # %-d -> actual: 21 582s # %0d -> expected: 21 582s # %0d -> actual: 21 582s # %e -> expected:  1 582s # %e -> actual:  1 582s # %_e -> expected: 1 582s # %_e -> actual: 1 582s # %-e -> expected: 1 582s # %-e -> actual: 1 582s # %0e -> expected: 01 582s # %0e -> actual: 01 582s # %e -> expected: 21 582s # %e -> actual: 21 582s # %_e -> expected: 21 582s # %_e -> actual: 21 582s # %-e -> expected: 21 582s # %-e -> actual: 21 582s # %0e -> expected: 21 582s # %0e -> actual: 21 582s # %a -> expected: Thu 582s # %a -> actual: Thu 582s # %^a -> expected: THU 582s # %^a -> actual: THU 582s # %#a -> expected: THU 582s # %#a -> actual: THU 582s # %A -> expected: Thursday 582s # %A -> actual: Thursday 582s # %^A -> expected: THURSDAY 582s # %^A -> actual: THURSDAY 582s # %#A -> expected: THURSDAY 582s # %#A -> actual: THURSDAY 582s # %b -> expected: Jan 582s # %b -> actual: Jan 582s # %^b -> expected: JAN 582s # %^b -> actual: JAN 582s # %#b -> expected: JAN 582s # %#b -> actual: JAN 582s # %B -> expected: January 582s # %B -> actual: January 582s # %^B -> expected: JANUARY 582s # %^B -> actual: JANUARY 582s # %#B -> expected: JANUARY 582s # %#B -> actual: JANUARY 582s # %h -> expected: Jan 582s # %h -> actual: Jan 582s # %^h -> expected: JAN 582s # %^h -> actual: JAN 582s # %#h -> expected: JAN 582s # %#h -> actual: JAN 582s # %Z -> expected: UTC 582s # %Z -> actual: UTC 582s # %^Z -> expected: UTC 582s # %^Z -> actual: UTC 582s # %#Z -> expected: utc 582s # %#Z -> actual: utc 582s # %H -> expected: 01 582s # %H -> actual: 01 582s # %_H -> expected: 1 582s # %_H -> actual: 1 582s # %-H -> expected: 1 582s # %-H -> actual: 1 582s # %0H -> expected: 01 582s # %0H -> actual: 01 582s # %H -> expected: 21 582s # %H -> actual: 21 582s # %_H -> expected: 21 582s # %_H -> actual: 21 582s # %-H -> expected: 21 582s # %-H -> actual: 21 582s # %0H -> expected: 21 582s # %0H -> actual: 21 582s # %I -> expected: 01 582s # %I -> actual: 01 582s # %_I -> expected: 1 582s # %_I -> actual: 1 582s # %-I -> expected: 1 582s # %-I -> actual: 1 582s # %0I -> expected: 01 582s # %0I -> actual: 01 582s # %I -> expected: 11 582s # %I -> actual: 11 582s # %_I -> expected: 11 582s # %_I -> actual: 11 582s # %-I -> expected: 11 582s # %-I -> actual: 11 582s # %0I -> expected: 11 582s # %0I -> actual: 11 582s # %k -> expected:  1 582s # %k -> actual:  1 582s # %_k -> expected: 1 582s # %_k -> actual: 1 582s # %-k -> expected: 1 582s # %-k -> actual: 1 582s # %0k -> expected: 01 582s # %0k -> actual: 01 582s # %l -> expected:  1 582s # %l -> actual:  1 582s # %_l -> expected: 1 582s # %_l -> actual: 1 582s # %-l -> expected: 1 582s # %-l -> actual: 1 582s # %0l -> expected: 01 582s # %0l -> actual: 01 582s # %l -> expected: 11 582s # %l -> actual: 11 582s # %_l -> expected: 11 582s # %_l -> actual: 11 582s # %-l -> expected: 11 582s # %-l -> actual: 11 582s # %0l -> expected: 11 582s # %0l -> actual: 11 582s # %p -> expected: AM 582s # %p -> actual: AM 582s # %^p -> expected: AM 582s # %^p -> actual: AM 582s # %#p -> expected: am 582s # %#p -> actual: am 582s # %P -> expected: am 582s # %P -> actual: am 582s # %^P -> expected: AM 582s # %^P -> actual: AM 582s # %#P -> expected: am 582s # %#P -> actual: am 582s # %OH -> expected: ۲۳ 582s # %OH -> actual: ۲۳ 582s # %OI -> expected: ۱۱ 582s # %OI -> actual: ۱۱ 582s # %OM -> expected: ۰۰ 582s # %OM -> actual: ۰۰ 582s # %Om -> expected: ۰۷ 582s # %Om -> actual: ۰۷ 582s # %0Om -> expected: ۰۷ 582s # %0Om -> actual: ۰۷ 582s # %-Om -> expected: ۷ 582s # %-Om -> actual: ۷ 582s # %_Om -> expected: ۷ 582s # %_Om -> actual: ۷ 582s # %c -> expected: thu 01 jan 2009 00:00:00 utc 582s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 582s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 582s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 582s # %C -> expected: 20 582s # %C -> actual: 20 582s # %EC -> expected: 20 582s # %EC -> actual: 20 582s # %x -> expected: 02/01/09 582s # %x -> actual: 02/01/09 582s # %Ex -> expected: 02/01/09 582s # %Ex -> actual: 02/01/09 582s # %X -> expected: 01:02:03 582s # %X -> actual: 01:02:03 582s # %EX -> expected: 01:02:03 582s # %EX -> actual: 01:02:03 582s # %y -> expected: 09 582s # %y -> actual: 09 582s # %Ey -> expected: 09 582s # %Ey -> actual: 09 582s # %Y -> expected: 2009 582s # %Y -> actual: 2009 582s # %EY -> expected: 2009 582s # %EY -> actual: 2009 582s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 582s # Bug Reference: http://bugzilla.gnome.org/749206 582s # %B -> expected: January 582s # %B -> actual: January 582s # %OB -> expected: February 582s # %OB -> actual: February 582s # %b -> expected: Mar 582s # %b -> actual: Mar 582s # %Ob -> expected: Apr 582s # %Ob -> actual: Apr 582s # %h -> expected: May 582s # %h -> actual: May 582s # %Oh -> expected: Jun 582s # %Oh -> actual: Jun 582s # %B -> expected: Juli 582s # %B -> actual: Juli 582s # %OB -> expected: August 582s # %OB -> actual: August 582s # %b -> expected: Sep 582s # %b -> actual: Sep 582s # %Ob -> expected: Okt 582s # %Ob -> actual: Okt 582s # %h -> expected: Nov 582s # %h -> actual: Nov 582s # %Oh -> expected: Dez 582s # %Oh -> actual: Dez 582s # %B -> expected: enero 582s # %B -> actual: enero 582s # %OB -> expected: febrero 582s # %OB -> actual: febrero 582s # %b -> expected: mar 582s # %b -> actual: mar 582s # %Ob -> expected: abr 582s # %Ob -> actual: abr 582s # %h -> expected: may 582s # %h -> actual: may 582s # %Oh -> expected: jun 582s # %Oh -> actual: jun 582s # %B -> expected: juillet 582s # %B -> actual: juillet 582s # %OB -> expected: août 582s # %OB -> actual: août 582s # %b -> expected: sept. 582s # %b -> actual: sept. 582s # %Ob -> expected: oct. 582s # %Ob -> actual: oct. 582s # %h -> expected: nov. 582s # %h -> actual: nov. 582s # %Oh -> expected: déc. 582s # %Oh -> actual: déc. 582s # %B -> expected: Ιανουαρίου 582s # %B -> actual: Ιανουαρίου 582s # %B -> expected: Φεβρουαρίου 582s # %B -> actual: Φεβρουαρίου 582s # %B -> expected: Μαρτίου 582s # %B -> actual: Μαρτίου 582s # %OB -> expected: Απρίλιος 582s # %OB -> actual: Απρίλιος 582s # %OB -> expected: Μάιος 582s # %OB -> actual: Μάιος 582s # %OB -> expected: Ιούνιος 582s # %OB -> actual: Ιούνιος 582s # %b -> expected: Ιουλ 582s # %b -> actual: Ιουλ 582s # %Ob -> expected: Αύγ 582s # %Ob -> actual: Αύγ 582s # %B -> expected: svibnja 582s # %B -> actual: svibnja 582s # %B -> expected: lipnja 582s # %B -> actual: lipnja 582s # %B -> expected: srpnja 582s # %B -> actual: srpnja 582s # %OB -> expected: Kolovoz 582s # %OB -> actual: kolovoz 582s # %OB -> expected: Rujan 582s # %OB -> actual: rujan 582s # %OB -> expected: Listopad 582s # %OB -> actual: listopad 582s # %b -> expected: Stu 582s # %b -> actual: stu 582s # %Ob -> expected: Pro 582s # %Ob -> actual: pro 582s # %B -> expected: sausio 582s # %B -> actual: sausio 582s # %B -> expected: vasario 582s # %B -> actual: vasario 582s # %B -> expected: kovo 582s # %B -> actual: kovo 582s # %OB -> expected: balandis 582s # %OB -> actual: balandis 582s # %OB -> expected: gegužė 582s # %OB -> actual: gegužė 582s # %OB -> expected: birželis 582s # %OB -> actual: birželis 582s # %b -> expected: liep. 582s # %b -> actual: liep. 582s # %Ob -> expected: rugp. 582s # %Ob -> actual: rugp. 582s # %B -> expected: maja 582s # %B -> actual: maja 582s # %B -> expected: czerwca 582s # %B -> actual: czerwca 582s # %B -> expected: lipca 582s # %B -> actual: lipca 582s # %OB -> expected: sierpień 582s # %OB -> actual: sierpień 582s # %OB -> expected: wrzesień 582s # %OB -> actual: wrzesień 582s # %OB -> expected: październik 582s # %OB -> actual: październik 582s # %b -> expected: lis 582s # %b -> actual: lis 582s # %Ob -> expected: gru 582s # %Ob -> actual: gru 582s # %B -> expected: января 582s # %B -> actual: января 582s # %B -> expected: февраля 582s # %B -> actual: февраля 582s # %B -> expected: марта 582s # %B -> actual: марта 582s # %OB -> expected: Апрель 582s # %OB -> actual: Апрель 582s # %OB -> expected: Май 582s # %OB -> actual: Май 582s # %OB -> expected: Июнь 582s # %OB -> actual: Июнь 582s # %b -> expected: июл 582s # %b -> actual: июл 582s # %Ob -> expected: авг 582s # %Ob -> actual: авг 582s # %b -> expected: мая 582s # %b -> actual: мая 582s # %Ob -> expected: май 582s # %Ob -> actual: май 582s ok 38 /GDateTime/month_names 582s ok 39 /GDateTime/to_local 582s ok 40 /GDateTime/to_unix 582s ok 41 /GDateTime/to_timeval 582s ok 42 /GDateTime/to_utc 582s ok 43 /GDateTime/now_utc 582s ok 44 /GDateTime/dst 582s # Bug Reference: http://bugzilla.gnome.org/642935 582s ok 45 /GDateTime/test_z 583s # Executing: glib/gdatetime.test 583s ok 46 /GDateTime/test-all-dates 583s # slow test /GDateTime/test-all-dates executed in 1.27 secs 583s ok 47 /GDateTime/unix_usec 583s # Start of new_from_unix tests 583s # Bug Reference: http://bugzilla.gnome.org/782089 583s ok 48 /GDateTime/new_from_unix/overflow 583s # End of new_from_unix tests 583s # Start of new_from_timeval tests 583s # Bug Reference: http://bugzilla.gnome.org/782089 583s # Maximum supported GTimeVal.tv_sec = 253402300799 583s ok 49 /GDateTime/new_from_timeval/overflow 583s # End of new_from_timeval tests 583s # Start of new_from_iso8601 tests 583s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 583s # Vector 0: 1990-11-01T10:21:17Z 583s # Vector 1: 19901101T102117Z 583s # Vector 2: 1970-01-01T00:00:17.12Z 583s # Vector 3: 1970-01-01T00:00:17.1234Z 583s # Vector 4: 1970-01-01T00:00:17.123456Z 583s # Vector 5: 1980-02-22T12:36:00+02:00 583s # Vector 6: 1990-12-31T15:59:60-08:00 583s # Vector 7: 583s # Vector 8: x 583s # Vector 9: 123x 583s # Vector 10: 2001-10+x 583s # Vector 11: 1980-02-22T 583s # Vector 12: 2001-10-08Tx 583s # Vector 13: 2001-10-08T10:11x 583s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 583s # Vector 15: 1980-02-22T10:36:00Zulu 583s # Vector 16: 2T0+819855292164632335 583s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 583s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 583s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 583s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 583s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 583s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 583s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 583s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 583s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 583s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 583s # Vector 27: 20180803T140805.446178377+0100 583s # Vector 28: 21474836480803T140805.446178377+0100 583s # Vector 29: 20181303T140805.446178377+0100 583s # Vector 30: 20180003T140805.446178377+0100 583s # Vector 31: 20180800T140805.446178377+0100 583s # Vector 32: 20180832T140805.446178377+0100 583s # Vector 33: 20180803T240805.446178377+0100 583s # Vector 34: 20180803T146005.446178377+0100 583s # Vector 35: 20180803T140863.446178377+0100 583s # Vector 36: 20180803T140805.446178377+10000 583s # Vector 37: -0005-01-01T00:00:00Z 583s # Vector 38: 2018-08-06 583s # Vector 39: 20180803T140805,446178377+0100 583s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 583s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 583s # Vector 42: 1990-11-01T10:21:17 583s # Vector 43: 1719W462 407777-07 583s # Vector 44: 4011090 260528Z 583s # Vector 45: 0000W011 228214-22 583s ok 50 /GDateTime/new_from_iso8601/2 583s # End of new_from_iso8601 tests 583s # Start of format_mixed tests 583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 583s # %b -> expected: mar 583s # %b -> actual: Mar 583s # %B -> expected: march 583s # %B -> actual: March 583s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 583s # %b -> expected: mar 583s # %b -> actual: Mar 583s # %B -> expected: march 583s # %B -> actual: March 583s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 583s # %b -> expected: Mär 583s # %b -> actual: Mär 583s # %B -> expected: März 583s # %B -> actual: März 583s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 583s # %b -> expected: Mär 583s # %b -> actual: Mär 583s # %B -> expected: März 583s # %B -> actual: März 583s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 583s # End of format_mixed tests 583s # Start of strftime tests 583s # %r -> expected: (null) 583s # %r -> actual: (null) 583s ok 55 /GDateTime/strftime/error_handling 583s # End of strftime tests 583s # Start of eras tests 583s # %Ec -> expected: 令和05年06月01日 00時00分00秒 583s # %Ec -> actual: 令和05年06月01日 00時00分00秒 583s # %EC -> expected: 令和 583s # %EC -> actual: 令和 583s # %Ex -> expected: 令和05年06月01日 583s # %Ex -> actual: 令和05年06月01日 583s # %EX -> expected: 00時00分00秒 583s # %EX -> actual: 00時00分00秒 583s # %Ey -> expected: 05 583s # %Ey -> actual: 05 583s # %EY -> expected: 令和05年 583s # %EY -> actual: 令和05年 583s # %Ec -> expected: 平成31年04月30日 00時00分00秒 583s # %Ec -> actual: 平成31年04月30日 00時00分00秒 583s # %EC -> expected: 平成 583s # %EC -> actual: 平成 583s # %Ex -> expected: 平成31年04月30日 583s # %Ex -> actual: 平成31年04月30日 583s # %EX -> expected: 00時00分00秒 583s # %EX -> actual: 00時00分00秒 583s # %Ey -> expected: 31 583s # %Ey -> actual: 31 583s # %EY -> expected: 平成31年 583s # %EY -> actual: 平成31年 583s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 583s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 583s # %EC -> expected: 昭和 583s # %EC -> actual: 昭和 583s # %Ex -> expected: 昭和元年12月25日 583s # %Ex -> actual: 昭和元年12月25日 583s # %EX -> expected: 00時00分00秒 583s # %EX -> actual: 00時00分00秒 583s # %Ey -> expected: 01 583s # %Ey -> actual: 01 583s ok - glib/gdatetime.test 583s # Running test: glib/cxx-11.test 583s ok - glib/cxx-11.test 583s # Running test: glib/unicode-normalize.test 583s # %EY -> expected: 昭和元年 583s # %EY -> actual: 昭和元年 583s ok 56 /GDateTime/eras/japan 583s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 583s # Vector 0: 583s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 583s # 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年 583s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 583s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 583s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 583s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 583s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 583s # Vector 8: + 583s # Vector 9: +: 583s # Vector 10: +:: 583s # Vector 11: +:200 583s # Vector 12: +:2nonsense 583s # Vector 13: +:2nonsense: 583s # Vector 14: +:2: 583s # Vector 15: +:2:: 583s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 583s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 583s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 583s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 583s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 583s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 583s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 583s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 583s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 583s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 583s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 583s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 583s # Vector 28: +:2:2020/01/01 583s # Vector 29: +:2:2020/01/01: 583s # Vector 30: +:2:2020/01/01:: 583s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 583s # Vector 32: +:2:2020/01/01:+* 583s # Vector 33: +:2:2020/01/01:+*: 583s # Vector 34: +:2:2020/01/01:+*:: 583s # Vector 35: +:2:2020/01/01:+*:令和 583s # Vector 36: +:2:2020/01/01:+*:令和: 583s # Vector 37: +:2:2020/01/01:+*:令和:; 583s ok 58 /GDateTime/eras/parsing 583s # End of eras tests 583s # End of GDateTime tests 583s # Start of GTimeZone tests 583s ok 59 /GTimeZone/find-interval 583s ok 60 /GTimeZone/adjust-time 583s ok 61 /GTimeZone/no-header 583s ok 62 /GTimeZone/no-header-identifier 583s ok 63 /GTimeZone/posix-parse 583s # Bug Reference: http://bugzilla.gnome.org/697715 583s ok 64 /GTimeZone/floating-point 583s # System time zone identifier: Etc/UTC 583s ok 65 /GTimeZone/identifier 583s # Vector 0: -158400 583s # Vector 1: -10000 583s # Vector 2: -3600 583s # Vector 3: -61 583s # Vector 4: -60 583s # Vector 5: -59 583s # Vector 6: 0 583s # Vector 7: 59 583s # Vector 8: 60 583s # Vector 9: 61 583s # Vector 10: 3600 583s # Vector 11: 10000 583s # Vector 12: 158400 583s ok 66 /GTimeZone/new-offset 583s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 583s ok 67 /GTimeZone/parse-rfc8536 583s # /GTimeZone/caching summary: GTimeZone instances are cached 583s ok 68 /GTimeZone/caching 583s # End of GTimeZone tests 583s TAP version 14 583s # random seed: R02S234f2e7f1608c93cf11e60c6671693e6 583s 1..2 583s # Start of gtask tests 583s # 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. 583s ok 1 /gtask/name 583s # Start of name tests 583s # 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. 583s ok 2 /gtask/name/macro-wrapper 583s # End of name tests 583s # End of gtask tests 583s TAP version 14 583s # random seed: R02Sbc66bff454519193d12f012ebbbd57d4 583s 1..3 583s # Start of unicode tests 583s # Processing Part0 # Specific cases 583s # Processing Part1 # Character by character test 584s # Processing Part2 # Canonical Order Test 584s # Processing Part3 # PRI #29 Test 584s # Processing Part4 # Canonical closures (excluding Hangul) 584s ok - glib/unicode-normalize.test 584s # Processing Part5 # Chained primary composites 584s ok 1 /unicode/normalize 584s # Invalid UTF-8 vector 0 584s # Invalid UTF-8 vector 1 584s # Invalid UTF-8 vector 2 584s # Invalid UTF-8 vector 3 584s # Invalid UTF-8 vector 4 584s # Invalid UTF-8 vector 5 584s # Invalid UTF-8 vector 6 584s # Invalid UTF-8 vector 7 584s # Invalid UTF-8 vector 8 584s # Invalid UTF-8 vector 9 584s # Invalid UTF-8 vector 10 584s # Invalid UTF-8 vector 11 584s # Invalid UTF-8 vector 12 584s ok 2 /unicode/normalize-invalid 584s # Start of normalize tests 584s ok 3 /unicode/normalize/bad-length 584s # End of normalize tests 584s # End of unicode tests 584s # Running test: glib/autoptr-girepository.test 584s TAP version 14 584s # random seed: R02S3e126a344343efda4fe67eb6f0b4c426 584s 1..24 584s # Start of autoptr tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/repository/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 1 /autoptr/repository 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/typelib/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 2 /autoptr/typelib 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/base-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 3 /autoptr/base-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/arg-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 4 /autoptr/arg-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callable-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 5 /autoptr/callable-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/callback-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 6 /autoptr/callback-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/constant-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 7 /autoptr/constant-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/enum-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 8 /autoptr/enum-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/field-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 9 /autoptr/field-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/flags-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 10 /autoptr/flags-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/function-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 11 /autoptr/function-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/interface-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 12 /autoptr/interface-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/object-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 13 /autoptr/object-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/property-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 14 /autoptr/property-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/registered-type-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 15 /autoptr/registered-type-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/signal-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 16 /autoptr/signal-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/struct-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 17 /autoptr/struct-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/type-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 18 /autoptr/type-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/union-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 19 /autoptr/union-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/value-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 20 /autoptr/value-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/autoptr/vfunc-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 21 /autoptr/vfunc-info 584s # End of autoptr tests 584s # Start of auto tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/auto/arg-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 22 /auto/arg-info 584s ok - glib/autoptr-girepository.test 584s # Running test: glib/g-icon.test 584s ok - glib/g-icon.test 584s # Running test: glib/repository.test 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/auto/type-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 23 /auto/type-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TMVPK3/auto/function-invoker/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s ok 24 /auto/function-invoker 584s # End of auto tests 584s TAP version 14 584s # random seed: R02S2758bf81edd76c920ef2fe3a1e4e95bf 584s 1..6 584s # Start of icons tests 584s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 584s ok 1 /icons/to-string 584s ok 2 /icons/serialize 584s ok 3 /icons/themed 584s ok 4 /icons/emblemed 584s ok 5 /icons/file 584s ok 6 /icons/bytes 584s # End of icons tests 584s TAP version 14 584s # random seed: R02S78549f5f27b18a755e0e248dcd9875f5 584s 1..24 584s # Start of repository tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/basic/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/basic/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/basic/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/basic/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/basic/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/basic/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/basic/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/basic/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/basic/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/basic/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 584s ok 1 /repository/basic 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/info/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/info/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/info summary: Test retrieving some basic info blobs from a typelib 584s ok 2 /repository/info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/dependencies/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/dependencies/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/dependencies/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 584s ok 3 /repository/dependencies 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/arg-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/arg-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/arg-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 584s ok 4 /repository/arg-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/callable-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/callable-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/callable-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 584s ok 5 /repository/callable-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/callback-info/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/callback-info/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/callback-info/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 584s ok 6 /repository/callback-info 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/char-types/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/char-types/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/char-types/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 584s ok 7 /repository/char-types 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/constructor-return-type/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 584s ok 8 /repository/constructor-return-type 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/enum-info-c-identifier/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 584s ok 9 /repository/enum-info-c-identifier 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/enum-info-static-methods/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/enum-info-static-methods summary: Test an enum with methods 584s ok 10 /repository/enum-info-static-methods 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/error-quark/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/error-quark/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/error-quark/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/error-quark summary: Test finding an error quark by error domain 584s ok 11 /repository/error-quark 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/flags-info-c-identifier/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 584s ok 12 /repository/flags-info-c-identifier 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/fundamental-ref-func/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 584s ok 13 /repository/fundamental-ref-func 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/instance-method-ownership-transfer/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 584s ok 14 /repository/instance-method-ownership-transfer 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/object-gtype-interfaces/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 584s ok 15 /repository/object-gtype-interfaces 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/signal-info-with-array-length-arg/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 584s ok 16 /repository/signal-info-with-array-length-arg 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/type-info-name/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 584s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 584s ok 17 /repository/type-info-name 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-no-invoker/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 584s ok 18 /repository/vfunc-info-with-no-invoker 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 584s ok 19 /repository/vfunc-info-with-invoker-on-interface 584s ok - glib/repository.test 584s # Running test: glib/option-context.test 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 584s ok 20 /repository/vfunc-info-with-invoker-on-object 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/find-by-gtype/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/find-by-gtype summary: Test finding a GType 584s ok 21 /repository/find-by-gtype 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/loaded-namespaces/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/loaded-namespaces summary: Test listing loaded namespaces 584s ok 22 /repository/loaded-namespaces 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/dup_default/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/dup_default/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/dup_default/.dirs/runtime 584s ok 23 /repository/dup_default 584s # Start of base-info tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KH7MK3/repository/base-info/clear/.dirs/runtime 584s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 584s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 584s ok 24 /repository/base-info/clear 584s # End of base-info tests 584s # End of repository tests 584s TAP version 14 584s # random seed: R02S5059ce8a2590fd0929a7d0221eb6c378 584s 1..61 584s # Start of option tests 584s ok 1 /option/basic 584s ok 2 /option/translate 584s ok 3 /option/strict-posix 584s # Testing command: program --double abc 584s # Testing command: program --double 2e309 584s # Testing command: program --int abc 584s # Testing command: program --int 99999999999999999999999999999999999 584s # Testing command: program --int64 abc 584s # Testing command: program --int64 99999999999999999999999999999999999 584s ok 4 /option/parsing-errors 584s # Start of help tests 584s ok 5 /option/help/options 584s ok 6 /option/help/no-options 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 584s ok 7 /option/help/no-help-options 584s # Usage: 584s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 584s # 584s # Summary 584s # 584s # Help Options: 584s # -h, --help Show help options 584s # 584s # Application Options: 584s # -t, --test=Argument to use in test (deprecated) Test tests 584s # --test2 Tests also 584s # 584s # Description 584s # 584s ok 8 /option/help/deprecated 584s ok 9 /option/help/main-get_help-format 584s ok 10 /option/help/group-get_help-format 584s # End of help tests 584s # Start of group tests 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 584s ok 11 /option/group/captions 584s ok 12 /option/group/main 584s ok 13 /option/group/error-hook 584s ok 14 /option/group/parse 584s # Start of captions tests 584s # Start of subprocess tests 584s ok - glib/option-context.test 584s # Running test: glib/memory-monitor-portal.test 584s # End of subprocess tests 584s # End of captions tests 584s # End of group tests 584s # Start of restoration tests 584s ok 15 /option/restoration/int 584s ok 16 /option/restoration/string 584s ok 17 /option/restoration/boolean 584s # End of restoration tests 584s # Start of arg tests 584s ok 18 /option/arg/reverse-string 584s ok 19 /option/arg/optional-int 584s # Start of repetition tests 584s ok 20 /option/arg/repetition/int 584s ok 21 /option/arg/repetition/string 584s ok 22 /option/arg/repetition/filename 584s ok 23 /option/arg/repetition/double 584s ok 24 /option/arg/repetition/locale 584s ok 25 /option/arg/repetition/int64 584s # End of repetition tests 584s # Start of array tests 584s ok 26 /option/arg/array/string 584s # End of array tests 584s # Start of callback tests 584s ok 27 /option/arg/callback/string 584s ok 28 /option/arg/callback/count 584s ok 29 /option/arg/callback/optional1 584s ok 30 /option/arg/callback/optional2 584s ok 31 /option/arg/callback/optional3 584s ok 32 /option/arg/callback/optional4 584s ok 33 /option/arg/callback/optional5 584s ok 34 /option/arg/callback/optional6 584s ok 35 /option/arg/callback/optional7 584s ok 36 /option/arg/callback/optional8 584s # End of callback tests 584s # Start of remaining tests 584s ok 37 /option/arg/remaining/callback 584s ok 38 /option/arg/remaining/callback-false 584s ok 39 /option/arg/remaining/non-option 584s ok 40 /option/arg/remaining/separator 584s ok 41 /option/arg/remaining/array 584s # End of remaining tests 584s # Start of ignore tests 584s ok 42 /option/arg/ignore/long 584s ok 43 /option/arg/ignore/short 584s ok 44 /option/arg/ignore/arg 584s # End of ignore tests 584s # Start of rest tests 584s ok 45 /option/arg/rest/non-option 584s ok 46 /option/arg/rest/separator1 584s ok 47 /option/arg/rest/separator2 584s ok 48 /option/arg/rest/separator3 584s ok 49 /option/arg/rest/separator4 584s ok 50 /option/arg/rest/separator5 584s # End of rest tests 584s # End of arg tests 584s # Start of context tests 584s ok 51 /option/context/add 584s ok 52 /option/context/empty2 584s ok 53 /option/context/empty3 584s # End of context tests 584s # Start of bug tests 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 584s ok 54 /option/bug/unknown-short 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 584s ok 55 /option/bug/lonely-dash 584s ok 56 /option/bug/triple-dash 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 584s ok 57 /option/bug/missing-arg 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 584s ok 58 /option/bug/dash-arg 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 584s ok 59 /option/bug/short-remaining 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 584s ok 60 /option/bug/double-free 584s ok 61 /option/bug/double-zero 584s # End of bug tests 584s # End of option tests 584s TAP version 13 584s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 584s 1..1 584s ok - glib/memory-monitor-portal.test 584s # Running test: glib/properties-refcount2.test 584s TAP version 14 584s # random seed: R02Sbb39e05620dc69914e5bf953176c5654 584s 1..1 584s # Start of gobject tests 584s # Start of refcount tests 584s # init 0xa517ed64eb0 584s # 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 584s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 585s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 586s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # dispose 0xa517ed64eb0! 587s # 587s ok 1 /gobject/refcount/properties-2 587s # slow test /gobject/refcount/properties-2 executed in 2.75 secs 587s # End of refcount tests 587s # End of gobject tests 587s ok - glib/properties-refcount2.test 587s # Running test: glib/thread-deprecated.test 587s TAP version 14 587s # random seed: R02Sc30eba42048e9cbe657ab21aa7f956f8 587s 1..6 587s # Start of thread tests 587s ok 1 /thread/mutex 587s ok 2 /thread/static-rec-mutex 588s # Executing: glib/thread-deprecated.test 592s ok 3 /thread/static-private 592s # slow test /thread/static-private executed in 4.41 secs 593s # Executing: glib/thread-deprecated.test 597s ok 4 /thread/static-rw-lock 597s # slow test /thread/static-rw-lock executed in 5.00 secs 597s ok 5 /thread/once 598s # Executing: glib/thread-deprecated.test 603s # Executing: glib/thread-deprecated.test 607s ok - glib/thread-deprecated.test 607s ok 6 /thread/rerun-all 607s # slow test /thread/rerun-all executed in 10.03 secs 607s # End of thread tests 607s # Running test: glib/volumemonitor.test 607s TAP version 14 607s # random seed: R02Sab76f917930df9c4da3ec7d438be34e3 607s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 607s 1..3 607s # Start of volumemonitor tests 607s ok 1 /volumemonitor/connected_drives 607s ok 2 /volumemonitor/volumes 607s ok 3 /volumemonitor/mounts 607s # End of volumemonitor tests 607s ok - glib/volumemonitor.test 607s # Running test: glib/converter-stream.test 607s TAP version 14 607s # random seed: R02S7aaefc585c14276caf57450f1fa68b21 607s 1..17 607s # Start of converter tests 607s ok 1 /converter/basics 607s # End of converter tests 607s # Start of converter-input-stream tests 607s ok 2 /converter-input-stream/expander 607s ok 3 /converter-input-stream/compressor 607s # Start of truncation tests 607s ok 4 /converter-input-stream/truncation/zlib 607s ok 5 /converter-input-stream/truncation/gzip 607s ok 6 /converter-input-stream/truncation/raw 607s # End of truncation tests 607s # Start of charset tests 607s ok 7 /converter-input-stream/charset/utf8->latin1 607s ok 8 /converter-input-stream/charset/latin1->utf8 607s ok 9 /converter-input-stream/charset/fallbacks 607s # End of charset tests 607s # End of converter-input-stream tests 607s # Start of converter-output-stream tests 607s # Start of roundtrip tests 607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 607s ok 10 /converter-output-stream/roundtrip/zlib-0 607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 607s ok 11 /converter-output-stream/roundtrip/zlib-9 607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 608s ok 12 /converter-output-stream/roundtrip/gzip-0 608s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 608s ok 13 /converter-output-stream/roundtrip/gzip-9 608s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 608s ok 14 /converter-output-stream/roundtrip/raw-0 608s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 608s ok 15 /converter-output-stream/roundtrip/raw-9 608s # End of roundtrip tests 608s # End of converter-output-stream tests 608s # Start of converter-stream tests 608s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 608s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1c71b35e2ab0 and GSocketClientAsyncConnectData 0x1c71b35db210 608s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 608s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 608s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1c71b3221ba0 for GSocketClientAsyncConnectData 0x1c71b35db210 608s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 608s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 608s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 608s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 608s ok 16 /converter-stream/pollable 608s ok 17 /converter-stream/leftover 608s # End of converter-stream tests 608s ok - glib/converter-stream.test 608s # Running test: glib/sort.test 608s TAP version 14 608s # random seed: R02S34f743cfb79a9f4d57ca1ba3e079c5b0 608s 1..5 608s # Start of sort tests 608s ok 1 /sort/basic 608s ok 2 /sort/zero-elements 608s ok 3 /sort/stable 608s ok - glib/sort.test 608s ok 4 /sort/big 608s ok 5 /sort/deprecated 608s # End of sort tests 608s # Running test: glib/gobject-private.test 608s TAP version 14 608s # random seed: R02S7d6d603dc5e8b9c0eb82a4dc42e23f09 608s 1..3 608s # Start of private tests 608s ok - glib/gobject-private.test 608s ok 1 /private/instance 608s ok 2 /private/derived-instance 608s ok 3 /private/mixed-derived-instance 608s # End of private tests 608s # Running test: glib/gdbus-test-codegen.test 608s TAP version 14 608s # random seed: R02Sdf0142bc6dcbfb14531910668c89f612 608s 1..8 608s # Start of gdbus tests 608s # Start of codegen tests 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/annotations/.dirs/runtime 608s ok 1 /gdbus/codegen/annotations 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/interface_stability/.dirs/runtime 608s ok 2 /gdbus/codegen/interface_stability 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/object-manager/.dirs/runtime 608s ok 3 /gdbus/codegen/object-manager 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/property-naming/.dirs/runtime 608s ok 4 /gdbus/codegen/property-naming 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/autocleanups/.dirs/runtime 608s ok 5 /gdbus/codegen/autocleanups 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/deprecations/.dirs/runtime 608s ok 6 /gdbus/codegen/deprecations 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 608s ok 7 /gdbus/codegen/standalone-interface-info 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5GXEK3/gdbus/codegen/unix-fd-list/.dirs/runtime 608s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 608s ok 8 /gdbus/codegen/unix-fd-list 608s # End of codegen tests 608s # End of gdbus tests 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s ok - glib/gdbus-test-codegen.test 608s # Running test: glib/fdo-notification-backend.test 608s TAP version 14 608s # random seed: R02S6f76bcaea80b6ea40b7b884cca71e767 608s 1..2 608s # Start of fdo-notification-backend tests 608s # Test constructing a GFdoNotificationBackend 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s ok 1 /fdo-notification-backend/construction 608s # Start of dbus tests 608s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 608s ok 2 /fdo-notification-backend/dbus/activate-action 608s # End of dbus tests 608s # End of fdo-notification-backend tests 608s ok - glib/fdo-notification-backend.test 608s # Running test: glib/fileutils.test 608s TAP version 14 608s # random seed: R02S6bb4b62bf9b6cf46401678838731182a 608s 1..27 608s # Start of fileutils tests 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/paths/.dirs/runtime 608s ok 1 /fileutils/paths 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/build-path/.dirs/runtime 608s ok 2 /fileutils/build-path 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/build-pathv/.dirs/runtime 608s ok 3 /fileutils/build-pathv 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/build-filename/.dirs/runtime 608s ok 4 /fileutils/build-filename 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/build-filenamev/.dirs/runtime 608s ok 5 /fileutils/build-filenamev 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents/.dirs/runtime 608s # We do not have CAP_DAC_OVERRIDE or equivalent 608s # Checking g_mkdir_with_parents() in subdir ./hum/ 608s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 608s ok 6 /fileutils/mkdir-with-parents 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/mkdir-with-parents-permission/.dirs/runtime 608s # We do not have CAP_DAC_OVERRIDE or equivalent 608s ok 7 /fileutils/mkdir-with-parents-permission 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/format-size-for-display/.dirs/runtime 608s ok 8 /fileutils/format-size-for-display 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/errors/.dirs/runtime 608s ok 9 /fileutils/errors 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/basename/.dirs/runtime 608s ok 10 /fileutils/basename 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/get-basename/.dirs/runtime 608s ok 11 /fileutils/get-basename 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/dirname/.dirs/runtime 608s ok 12 /fileutils/dirname 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/dir-make-tmp/.dirs/runtime 608s ok 13 /fileutils/dir-make-tmp 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/file-open-tmp/.dirs/runtime 608s ok 14 /fileutils/file-open-tmp 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/file-test/.dirs/runtime 608s ok 15 /fileutils/file-test 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/mkstemp/.dirs/runtime 608s ok 16 /fileutils/mkstemp 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/system-config2 608s # Executing: glib/fileutils.test 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/mkdtemp/.dirs/runtime 608s ok 17 /fileutils/mkdtemp 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents/.dirs/runtime 608s ok 18 /fileutils/get-contents 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/get-contents-large-file/.dirs/runtime 608s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents/.dirs/runtime 608s ok 20 /fileutils/set-contents 608s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/home 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/cache 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/system-config2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/config 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/system-data2 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/data 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/state 608s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/.dirs/runtime 608s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 608s # Flags 0 and test 0 608s # Flags 0 and test 1 608s # Flags 0 and test 2 608s # Flags 0 and test 3 608s # Flags 0 and test 4 608s # Flags 0 and test 5 608s # Flags 0 and test 6 608s # Flags 1 and test 0 608s # Flags 1 and test 1 608s # Flags 1 and test 2 608s # Flags 1 and test 3 608s # Flags 1 and test 4 608s # Flags 1 and test 5 608s # Flags 1 and test 6 608s # Flags 2 and test 0 608s # Flags 2 and test 1 608s # Flags 2 and test 2 608s # Flags 2 and test 3 608s # Flags 2 and test 4 608s # Flags 2 and test 5 608s # Flags 2 and test 6 608s # Flags 3 and test 0 608s # Flags 3 and test 1 608s # Flags 3 and test 2 608s # Flags 3 and test 3 608s # Flags 3 and test 4 608s # Flags 3 and test 5 608s # Flags 3 and test 6 608s # Flags 4 and test 0 608s # Flags 4 and test 1 608s # Flags 4 and test 2 608s # Flags 4 and test 3 608s # Flags 4 and test 4 608s # Flags 4 and test 5 608s # Flags 4 and test 6 608s # Flags 5 and test 0 608s # Flags 5 and test 1 608s # Flags 5 and test 2 608s # Flags 5 and test 3 609s # Flags 5 and test 4 609s # Flags 5 and test 5 609s # Flags 5 and test 6 609s # Flags 6 and test 0 609s # Flags 6 and test 1 609s # Flags 6 and test 2 609s # Flags 6 and test 3 609s # Flags 6 and test 4 609s # Flags 6 and test 5 609s # Flags 6 and test 6 609s ok 21 /fileutils/set-contents-full 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/read-link/.dirs/runtime 609s ok 22 /fileutils/read-link 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/stdio-wrappers/.dirs/runtime 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s ok 23 /fileutils/stdio-wrappers 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/fopen-modes/.dirs/runtime 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 609s # Testing fopen() mode 'w' 609s # Testing fopen() mode 'r' 609s # Testing fopen() mode 'a' 609s # Testing fopen() mode 'w+' 609s # Testing fopen() mode 'r+' 609s # Testing fopen() mode 'a+' 609s # Testing fopen() mode 'wb' 609s # Testing fopen() mode 'rb' 609s # Testing fopen() mode 'ab' 609s # Testing fopen() mode 'w+b' 609s # Testing fopen() mode 'r+b' 609s # Testing fopen() mode 'a+b' 609s # Testing fopen() mode 'wb+' 609s # Testing fopen() mode 'rb+' 609s # Testing fopen() mode 'ab+' 609s # Testing fopen() mode 'we' 609s # Testing fopen() mode 're' 609s # Testing fopen() mode 'ae' 609s # Testing fopen() mode 'w+e' 609s # Testing fopen() mode 'r+e' 609s # Testing fopen() mode 'a+e' 609s # Testing fopen() mode 'wbe' 609s # Testing fopen() mode 'rbe' 609s # Testing fopen() mode 'abe' 609s # Testing fopen() mode 'w+be' 609s # Testing fopen() mode 'r+be' 609s # Testing fopen() mode 'a+be' 609s # Testing fopen() mode 'wb+e' 609s # Testing fopen() mode 'rb+e' 609s # Testing fopen() mode 'ab+e' 609s # Testing fopen() mode 'web' 609s # Testing fopen() mode 'reb' 609s # Testing fopen() mode 'aeb' 609s # Testing fopen() mode 'w+eb' 609s # Testing fopen() mode 'r+eb' 609s # Testing fopen() mode 'a+eb' 609s # Testing fopen() mode 'web+' 609s # Testing fopen() mode 'reb+' 609s # Testing fopen() mode 'aeb+' 609s ok 24 /fileutils/fopen-modes 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/clear-fd/.dirs/runtime 609s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 609s # Will be closed by autocleanup: 3, -42 609s # Testing error handling 609s ok 25 /fileutils/clear-fd 609s # Start of set-contents-full tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-file/.dirs/runtime 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 609s ok 26 /fileutils/set-contents-full/read-only-file 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_VZ5BK3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 609s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 609s # Flags 0 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s # Flags 1 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s # Flags 2 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s # Flags 3 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s # Flags 4 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s # Flags 5 609s ok - glib/fileutils.test 609s # Running test: glib/thread-pool.test 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s # Flags 6 609s # We do not have CAP_DAC_OVERRIDE or equivalent 609s ok 27 /fileutils/set-contents-full/read-only-directory 609s # End of set-contents-full tests 609s # Start of clear-fd tests 609s # Start of subprocess tests 609s # End of subprocess tests 609s # End of clear-fd tests 609s # End of fileutils tests 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3/glib-file-set-contents-full-rodir-73N4J3: Directory not empty 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3/glib-file-set-contents-full-rodir-7WROK3: Directory not empty 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3/glib-file-set-contents-full-rodir-J83OK3: Directory not empty 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3/glib-file-set-contents-full-rodir-KRJOK3: Directory not empty 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3/glib-file-set-contents-full-rodir-T1UOK3: Directory not empty 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3/glib-file-set-contents-full-rodir-9ILOK3: Directory not empty 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3/glib-file-set-contents-full-rodir-D6NOK3: Directory not empty 609s Unable to clean up temporary directory /tmp/test_fileutils_VZ5BK3: Directory not empty 609s TAP version 14 609s # random seed: R02Sf9f54948f979cfb7369f8215b000a0ac 609s 1..6 609s # Start of thread_pool tests 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 609s ok 1 /thread_pool/pool_fail 609s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 609s ok 2 /thread_pool/shared 609s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 609s ok 3 /thread_pool/exclusive 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 609s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 609s ok 4 /thread_pool/create_shared_after_exclusive 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 609s ok 5 /thread_pool/create_full 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 609s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 609s ok 6 /thread_pool/create_exclusive_after_shared 609s # End of thread_pool tests 609s ok - glib/thread-pool.test 609s # Running test: glib/messages-low-memory.py.test 609s TAP version 13 609s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 609s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 609s # tmpdir: /tmp/tmpxr6y0vll 609s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 609s # Return code: -6 609s # Output: 609s # 609s # Error: 609s # GLib-Message: 11:24:48.617: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 609s # GLib-Message: 11:24:48.617: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 609s # ../../../glib/gprintf.c:351: failed to allocate memory 609s 1..1 609s ok - glib/messages-low-memory.py.test 609s # Running test: glib/cxx-14.test 609s TAP version 14 609s # random seed: R02S7cd45430d238d180a5c4d78edccc1370 609s 1..2 609s # Start of gtask tests 609s # 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. 609s ok 1 /gtask/name 609s # Start of name tests 609s # 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. 609s ok 2 /gtask/name/macro-wrapper 609s # End of name tests 609s # End of gtask tests 609s ok - glib/cxx-14.test 609s # Running test: glib/boxed.test 609s TAP version 14 609s # random seed: R02Sa6457c5ca24db9581585a0788dfb0174 609s 1..27 609s # Start of boxed tests 609s ok - glib/boxed.test 609s ok 1 /boxed/define 609s ok 2 /boxed/ownership 609s ok 3 /boxed/closure 609s ok 4 /boxed/date 609s ok 5 /boxed/value 609s ok 6 /boxed/string 609s ok 7 /boxed/hashtable 609s ok 8 /boxed/array 609s ok 9 /boxed/ptrarray 609s ok 10 /boxed/regex 609s ok 11 /boxed/varianttype 609s ok 12 /boxed/error 609s ok 13 /boxed/datetime 609s ok 14 /boxed/matchinfo 609s ok 15 /boxed/keyfile 609s ok 16 /boxed/mainloop 609s ok 17 /boxed/maincontext 609s ok 18 /boxed/source 609s ok 19 /boxed/variantbuilder 609s ok 20 /boxed/timezone 609s ok 21 /boxed/pollfd 609s ok 22 /boxed/markup 609s ok 23 /boxed/thread 609s ok 24 /boxed/checksum 609s ok 25 /boxed/tree 609s ok 26 /boxed/patternspec 609s ok 27 /boxed/rand 609s # End of boxed tests 609s # Running test: glib/gdbus-connection-slow.test 609s TAP version 14 609s # random seed: R02Scc0644353d1e30bd54d331b36b9813a6 609s 1..2 609s # Start of gdbus tests 609s # Start of connection tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/flush/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 1 /gdbus/connection/flush 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_J0YNK3/gdbus/connection/large_message/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s ok - glib/gdbus-connection-slow.test 609s # Running test: glib/codegen.py.test 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 2 /gdbus/connection/large_message 609s # End of connection tests 609s # End of gdbus tests 610s TAP version 13 610s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpsgi247s7 610s # /tmp/tmpsgi247s7/tmpdqwffm2y.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsgi247s7/tmpdqwffm2y.xml', '--output', '-', '--header'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifndef __STDOUT__ 610s # #define __STDOUT__ 610s # 610s # #include 610s # 610s # G_BEGIN_DECLS 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # /* Declarations for org.project.UsefulInterface */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 610s # 610s # struct _OrgProjectUsefulInterface; 610s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 610s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 610s # 610s # struct _OrgProjectUsefulInterfaceIface 610s # { 610s # GTypeInterface parent_iface; 610s # 610s # gboolean (*handle_useful_method) ( 610s # OrgProjectUsefulInterface *object, 610s # GDBusMethodInvocation *invocation); 610s # 610s # }; 610s # 610s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 610s # 610s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 610s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 610s # 610s # 610s # /* D-Bus method call completion functions: */ 610s # void org_project_useful_interface_complete_useful_method ( 610s # OrgProjectUsefulInterface *object, 610s # GDBusMethodInvocation *invocation); 610s # 610s # 610s # 610s # /* D-Bus method calls: */ 610s # void org_project_useful_interface_call_useful_method ( 610s # OrgProjectUsefulInterface *proxy, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # 610s # gboolean org_project_useful_interface_call_useful_method_finish ( 610s # OrgProjectUsefulInterface *proxy, 610s # GAsyncResult *res, 610s # GError **error); 610s # 610s # gboolean org_project_useful_interface_call_useful_method_sync ( 610s # OrgProjectUsefulInterface *proxy, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # 610s # 610s # /* ---- */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 610s # 610s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 610s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 610s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 610s # 610s # struct _OrgProjectUsefulInterfaceProxy 610s # { 610s # /*< private >*/ 610s # GDBusProxy parent_instance; 610s # OrgProjectUsefulInterfaceProxyPrivate *priv; 610s # }; 610s # 610s # struct _OrgProjectUsefulInterfaceProxyClass 610s # { 610s # GDBusProxyClass parent_class; 610s # }; 610s # 610s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 610s # 610s # #if GLIB_CHECK_VERSION(2, 44, 0) 610s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 610s # #endif 610s # 610s # void org_project_useful_interface_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # void org_project_useful_interface_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # 610s # /* ---- */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 610s # 610s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 610s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 610s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 610s # 610s # struct _OrgProjectUsefulInterfaceSkeleton 610s # { 610s # /*< private >*/ 610s # GDBusInterfaceSkeleton parent_instance; 610s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 610s # }; 610s # 610s # struct _OrgProjectUsefulInterfaceSkeletonClass 610s # { 610s # GDBusInterfaceSkeletonClass parent_class; 610s # }; 610s # 610s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 610s # 610s # #if GLIB_CHECK_VERSION(2, 44, 0) 610s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 610s # #endif 610s # 610s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 610s # 610s # 610s # G_END_DECLS 610s # 610s # #endif /* __STDOUT__ */ 610s # Error: 610s # 610s # /tmp/tmpsgi247s7/tmp0wmzhlkt.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsgi247s7/tmp0wmzhlkt.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifndef __STDOUT__ 610s # #define __STDOUT__ 610s # 610s # #include 610s # 610s # G_BEGIN_DECLS 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # /* Declarations for org.project.UsefulInterface */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 610s # 610s # struct _OrgProjectUsefulInterface; 610s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 610s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 610s # 610s # struct _OrgProjectUsefulInterfaceIface 610s # { 610s # GTypeInterface parent_iface; 610s # 610s # gboolean (*handle_useful_method) ( 610s # OrgProjectUsefulInterface *object, 610s # GDBusMethodInvocation *invocation); 610s # 610s # }; 610s # 610s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 610s # 610s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 610s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 610s # 610s # 610s # /* D-Bus method call completion functions: */ 610s # void org_project_useful_interface_complete_useful_method ( 610s # OrgProjectUsefulInterface *object, 610s # GDBusMethodInvocation *invocation); 610s # 610s # 610s # 610s # /* D-Bus method calls: */ 610s # void org_project_useful_interface_call_useful_method ( 610s # OrgProjectUsefulInterface *proxy, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # 610s # gboolean org_project_useful_interface_call_useful_method_finish ( 610s # OrgProjectUsefulInterface *proxy, 610s # GAsyncResult *res, 610s # GError **error); 610s # 610s # gboolean org_project_useful_interface_call_useful_method_sync ( 610s # OrgProjectUsefulInterface *proxy, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # 610s # 610s # /* ---- */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 610s # 610s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 610s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 610s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 610s # 610s # struct _OrgProjectUsefulInterfaceProxy 610s # { 610s # /*< private >*/ 610s # GDBusProxy parent_instance; 610s # OrgProjectUsefulInterfaceProxyPrivate *priv; 610s # }; 610s # 610s # struct _OrgProjectUsefulInterfaceProxyClass 610s # { 610s # GDBusProxyClass parent_class; 610s # }; 610s # 610s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 610s # 610s # #if GLIB_CHECK_VERSION(2, 44, 0) 610s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 610s # #endif 610s # 610s # void org_project_useful_interface_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # void org_project_useful_interface_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # 610s # /* ---- */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 610s # 610s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 610s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 610s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 610s # 610s # struct _OrgProjectUsefulInterfaceSkeleton 610s # { 610s # /*< private >*/ 610s # GDBusInterfaceSkeleton parent_instance; 610s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 610s # }; 610s # 610s # struct _OrgProjectUsefulInterfaceSkeletonClass 610s # { 610s # GDBusInterfaceSkeletonClass parent_class; 610s # }; 610s # 610s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 610s # 610s # #if GLIB_CHECK_VERSION(2, 44, 0) 610s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 610s # #endif 610s # 610s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 610s # 610s # 610s # G_END_DECLS 610s # 610s # #endif /* __STDOUT__ */ 610s # Error: 610s # 610s # /tmp/tmpsgi247s7/tmpc0124st1.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsgi247s7/tmpc0124st1.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifndef __STDOUT__ 610s # #define __STDOUT__ 610s # 610s # #include 610s # 610s # G_BEGIN_DECLS 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # /* Declarations for org.project.UsefulInterface */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 610s # 610s # struct _OrgProjectUsefulInterface; 610s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 610s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 610s # 610s # struct _OrgProjectUsefulInterfaceIface 610s # { 610s # GTypeInterface parent_iface; 610s # 610s # gboolean (*handle_useful_method) ( 610s # OrgProjectUsefulInterface *object, 610s # GDBusMethodInvocation *invocation); 610s # 610s # }; 610s # 610s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 610s # 610s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 610s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 610s # 610s # 610s # /* D-Bus method call completion functions: */ 610s # void org_project_useful_interface_complete_useful_method ( 610s # OrgProjectUsefulInterface *object, 610s # GDBusMethodInvocation *invocation); 610s # 610s # 610s # 610s # /* D-Bus method calls: */ 610s # void org_project_useful_interface_call_useful_method ( 610s # OrgProjectUsefulInterface *proxy, 610s # GDBusCallFlags call_flags, 610s # gint timeout_msec, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # 610s # gboolean org_project_useful_interface_call_useful_method_finish ( 610s # OrgProjectUsefulInterface *proxy, 610s # GAsyncResult *res, 610s # GError **error); 610s # 610s # gboolean org_project_useful_interface_call_useful_method_sync ( 610s # OrgProjectUsefulInterface *proxy, 610s # GDBusCallFlags call_flags, 610s # gint timeout_msec, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # 610s # 610s # /* ---- */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 610s # 610s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 610s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 610s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 610s # 610s # struct _OrgProjectUsefulInterfaceProxy 610s # { 610s # /*< private >*/ 610s # GDBusProxy parent_instance; 610s # OrgProjectUsefulInterfaceProxyPrivate *priv; 610s # }; 610s # 610s # struct _OrgProjectUsefulInterfaceProxyClass 610s # { 610s # GDBusProxyClass parent_class; 610s # }; 610s # 610s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 610s # 610s # #if GLIB_CHECK_VERSION(2, 44, 0) 610s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 610s # #endif 610s # 610s # void org_project_useful_interface_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # void org_project_useful_interface_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error); 610s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error); 610s # 610s # 610s # /* ---- */ 610s # 610s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 610s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 610s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 610s # 610s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 610s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 610s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 610s # 610s # struct _OrgProjectUsefulInterfaceSkeleton 610s # { 610s # /*< private >*/ 610s # GDBusInterfaceSkeleton parent_instance; 610s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 610s # }; 610s # 610s # struct _OrgProjectUsefulInterfaceSkeletonClass 610s # { 610s # GDBusInterfaceSkeletonClass parent_class; 610s # }; 610s # 610s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 610s # 610s # #if GLIB_CHECK_VERSION(2, 44, 0) 610s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 610s # #endif 610s # 610s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 610s # 610s # 610s # G_END_DECLS 610s # 610s # #endif /* __STDOUT__ */ 610s # Error: 610s ok 2 __main__.TestCodegen.test_dbus_types 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpjjiypc6l 610s # /tmp/tmpjjiypc6l/tmpoohikjk2.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmpoohikjk2.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 610s # /tmp/tmpjjiypc6l/tmp_brsbdnn.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmp_brsbdnn.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 610s # /tmp/tmpjjiypc6l/tmppmvh616d.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmppmvh616d.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 610s # /tmp/tmpjjiypc6l/tmpi7uly661.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmpi7uly661.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 610s # /tmp/tmpjjiypc6l/tmpipcwm44a.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmpipcwm44a.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 610s # /tmp/tmpjjiypc6l/tmpga1_iq12.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmpga1_iq12.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 610s # /tmp/tmpjjiypc6l/tmp6rncil0n.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmp6rncil0n.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 610s # /tmp/tmpjjiypc6l/tmpm9jg91nc.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmpm9jg91nc.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 610s # /tmp/tmpjjiypc6l/tmphl9a92lh.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmphl9a92lh.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 610s # /tmp/tmpjjiypc6l/tmp3qxrrqnr.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmp3qxrrqnr.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: D-Bus maximum signature length of 255 exceeded. 610s # /tmp/tmpjjiypc6l/tmp7aecf6ph.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmp7aecf6ph.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: D-Bus maximum signature length of 255 exceeded. 610s # /tmp/tmpjjiypc6l/tmpm96yupfx.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmpm96yupfx.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 610s # /tmp/tmpjjiypc6l/tmpsh6jyplr.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmpsh6jyplr.xml', '--output', '-', '--body'] 610s # Return code: 1 610s # Output: 610s # 610s # Error: 610s # ERROR: D-Bus maximum signature length of 255 exceeded. 610s # /tmp/tmpjjiypc6l/tmp8vws_e17.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmp8vws_e17.xml', '--output', '-', '--body'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifdef HAVE_CONFIG_H 610s # # include "config.h" 610s # #endif 610s # 610s # #include 610s # #ifdef G_OS_UNIX 610s # # include 610s # #endif 610s # 610s # #ifdef G_ENABLE_DEBUG 610s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 610s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 610s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 610s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 610s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 610s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 610s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 610s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 610s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 610s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 610s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 610s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 610s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 610s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 610s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 610s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 610s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 610s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 610s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 610s # #else /* !G_ENABLE_DEBUG */ 610s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 610s # * Do not access GValues directly in your code. Instead, use the 610s # * g_value_get_*() functions 610s # */ 610s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 610s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 610s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 610s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 610s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 610s # #endif /* !G_ENABLE_DEBUG */ 610s # 610s # typedef struct 610s # { 610s # GDBusArgInfo parent_struct; 610s # gboolean use_gvariant; 610s # } _ExtendedGDBusArgInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusMethodInfo parent_struct; 610s # const gchar *signal_name; 610s # gboolean pass_fdlist; 610s # } _ExtendedGDBusMethodInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusSignalInfo parent_struct; 610s # const gchar *signal_name; 610s # } _ExtendedGDBusSignalInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusPropertyInfo parent_struct; 610s # const gchar *hyphen_name; 610s # guint use_gvariant : 1; 610s # guint emits_changed_signal : 1; 610s # } _ExtendedGDBusPropertyInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusInterfaceInfo parent_struct; 610s # const gchar *hyphen_name; 610s # } _ExtendedGDBusInterfaceInfo; 610s # 610s # typedef struct 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # guint prop_id; 610s # GValue orig_value; /* the value before the change */ 610s # } ChangedProperty; 610s # 610s # static void 610s # _changed_property_free (ChangedProperty *data) 610s # { 610s # g_value_unset (&data->orig_value); 610s # g_free (data); 610s # } 610s # 610s # static gboolean 610s # _g_strv_equal0 (gchar **a, gchar **b) 610s # { 610s # gboolean ret = FALSE; 610s # guint n; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # if (g_strv_length (a) != g_strv_length (b)) 610s # goto out; 610s # for (n = 0; a[n] != NULL; n++) 610s # if (g_strcmp0 (a[n], b[n]) != 0) 610s # goto out; 610s # ret = TRUE; 610s # out: 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _g_variant_equal0 (GVariant *a, GVariant *b) 610s # { 610s # gboolean ret = FALSE; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # ret = g_variant_equal (a, b); 610s # out: 610s # return ret; 610s # } 610s # 610s # G_GNUC_UNUSED static gboolean 610s # _g_value_equal (const GValue *a, const GValue *b) 610s # { 610s # gboolean ret = FALSE; 610s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 610s # switch (G_VALUE_TYPE (a)) 610s # { 610s # case G_TYPE_BOOLEAN: 610s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 610s # break; 610s # case G_TYPE_UCHAR: 610s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 610s # break; 610s # case G_TYPE_INT: 610s # ret = (g_value_get_int (a) == g_value_get_int (b)); 610s # break; 610s # case G_TYPE_UINT: 610s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 610s # break; 610s # case G_TYPE_INT64: 610s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 610s # break; 610s # case G_TYPE_UINT64: 610s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 610s # break; 610s # case G_TYPE_DOUBLE: 610s # { 610s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 610s # gdouble da = g_value_get_double (a); 610s # gdouble db = g_value_get_double (b); 610s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 610s # } 610s # break; 610s # case G_TYPE_STRING: 610s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 610s # break; 610s # case G_TYPE_VARIANT: 610s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 610s # break; 610s # default: 610s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 610s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 610s # else 610s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 610s # break; 610s # } 610s # return ret; 610s # } 610s # 610s # /* ------------------------------------------------------------------------ 610s # * Code for interface GoodTypes 610s # * ------------------------------------------------------------------------ 610s # */ 610s # 610s # /** 610s # * SECTION:GoodTypes 610s # * @title: GoodTypes 610s # * @short_description: Generated C code for the GoodTypes D-Bus interface 610s # * 610s # * This section contains code for working with the GoodTypes D-Bus interface in C. 610s # */ 610s # 610s # /* ---- Introspection data for GoodTypes ---- */ 610s # 610s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 610s # { 610s # { 610s # -1, 610s # (gchar *) "GoodPropertyType", 610s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 610s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 610s # NULL 610s # }, 610s # "good-property-type", 610s # FALSE, 610s # TRUE 610s # }; 610s # 610s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 610s # { 610s # &_good_types_property_info_good_property_type.parent_struct, 610s # NULL 610s # }; 610s # 610s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 610s # { 610s # { 610s # -1, 610s # (gchar *) "GoodTypes", 610s # NULL, 610s # NULL, 610s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 610s # NULL 610s # }, 610s # "good-types", 610s # }; 610s # 610s # 610s # /** 610s # * good_types_interface_info: 610s # * 610s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 610s # * 610s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 610s # */ 610s # GDBusInterfaceInfo * 610s # good_types_interface_info (void) 610s # { 610s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 610s # } 610s # 610s # /** 610s # * good_types_override_properties: 610s # * @klass: The class structure for a #GObject derived class. 610s # * @property_id_begin: The property id to assign to the first overridden property. 610s # * 610s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 610s # * The properties are overridden in the order they are defined. 610s # * 610s # * Returns: The last property id. 610s # */ 610s # guint 610s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 610s # { 610s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 610s # return property_id_begin - 1; 610s # } 610s # 610s # 610s # 610s # /** 610s # * GoodTypes: 610s # * 610s # * Abstract interface type for the D-Bus interface GoodTypes. 610s # */ 610s # 610s # /** 610s # * GoodTypesIface: 610s # * @parent_iface: The parent interface. 610s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 610s # * 610s # * Virtual table for the D-Bus interface GoodTypes. 610s # */ 610s # 610s # typedef GoodTypesIface GoodTypesInterface; 610s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 610s # 610s # static void 610s # good_types_default_init (GoodTypesIface *iface) 610s # { 610s # /* GObject properties for D-Bus properties: */ 610s # /** 610s # * GoodTypes:good-property-type: 610s # * 610s # * Represents the D-Bus property "GoodPropertyType". 610s # * 610s # * 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. 610s # */ 610s # g_object_interface_install_property (iface, 610s # 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)); 610s # } 610s # 610s # /** 610s # * good_types_get_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * 610s # * Gets the value of the "GoodPropertyType" D-Bus property. 610s # * 610s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 610s # * 610s # * 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. 610s # * 610s # * 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. 610s # */ 610s # GVariant * 610s # good_types_get_good_property_type (GoodTypes *object) 610s # { 610s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 610s # 610s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 610s # } 610s # 610s # /** 610s # * good_types_dup_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * 610s # * Gets a copy of the "GoodPropertyType" D-Bus property. 610s # * 610s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 610s # * 610s # * 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(). 610s # */ 610s # GVariant * 610s # good_types_dup_good_property_type (GoodTypes *object) 610s # { 610s # GVariant *value; 610s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 610s # return value; 610s # } 610s # 610s # /** 610s # * good_types_set_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * @value: The value to set. 610s # * 610s # * Sets the "GoodPropertyType" D-Bus property to @value. 610s # * 610s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 610s # */ 610s # void 610s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 610s # { 610s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 610s # } 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * GoodTypesProxy: 610s # * 610s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * GoodTypesProxyClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for GoodTypesProxy. 610s # */ 610s # 610s # struct _GoodTypesProxyPrivate 610s # { 610s # GData *qdata; 610s # }; 610s # 610s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 610s # G_ADD_PRIVATE (GoodTypesProxy) 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 610s # 610s # #endif 610s # static void 610s # good_types_proxy_finalize (GObject *object) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 610s # g_datalist_clear (&proxy->priv->qdata); 610s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # good_types_proxy_get_property (GObject *object, 610s # guint prop_id, 610s # GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GVariant *variant; 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 610s # if (info->use_gvariant) 610s # { 610s # g_value_set_variant (value, variant); 610s # } 610s # else 610s # { 610s # if (variant != NULL) 610s # g_dbus_gvariant_to_gvalue (variant, value); 610s # } 610s # if (variant != NULL) 610s # g_variant_unref (variant); 610s # } 610s # 610s # static void 610s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 610s # GAsyncResult *res, 610s # gpointer user_data) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info = user_data; 610s # GError *error; 610s # GVariant *_ret; 610s # error = NULL; 610s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 610s # if (!_ret) 610s # { 610s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 610s # info->parent_struct.name, 610s # error->message, g_quark_to_string (error->domain), error->code); 610s # g_error_free (error); 610s # } 610s # else 610s # { 610s # g_variant_unref (_ret); 610s # } 610s # } 610s # 610s # static void 610s # good_types_proxy_set_property (GObject *object, 610s # guint prop_id, 610s # const GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GVariant *variant; 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_dbus_proxy_call (G_DBUS_PROXY (object), 610s # "org.freedesktop.DBus.Properties.Set", 610s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 610s # G_DBUS_CALL_FLAGS_NONE, 610s # -1, 610s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 610s # g_variant_unref (variant); 610s # } 610s # 610s # static void 610s # good_types_proxy_g_signal (GDBusProxy *proxy, 610s # const gchar *sender_name G_GNUC_UNUSED, 610s # const gchar *signal_name, 610s # GVariant *parameters) 610s # { 610s # _ExtendedGDBusSignalInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # gsize n; 610s # guint signal_id; 610s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 610s # if (info == NULL) 610s # return; 610s # num_params = g_variant_n_children (parameters); 610s # paramv = g_new0 (GValue, num_params + 1); 610s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 610s # g_value_set_object (¶mv[0], proxy); 610s # g_variant_iter_init (&iter, parameters); 610s # n = 1; 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 610s # g_signal_emitv (paramv, signal_id, 0, NULL); 610s # for (n = 0; n < num_params + 1; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static void 610s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 610s # GVariant *changed_properties, 610s # const gchar *const *invalidated_properties) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 610s # guint n; 610s # const gchar *key; 610s # GVariantIter *iter; 610s # _ExtendedGDBusPropertyInfo *info; 610s # g_variant_get (changed_properties, "a{sv}", &iter); 610s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 610s # g_datalist_remove_data (&proxy->priv->qdata, key); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # g_variant_iter_free (iter); 610s # for (n = 0; invalidated_properties[n] != NULL; n++) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 610s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # } 610s # 610s # static GVariant * 610s # good_types_proxy_get_good_property_type (GoodTypes *object) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 610s # GVariant *variant; 610s # GVariant *value = NULL; 610s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 610s # value = variant; 610s # if (variant != NULL) 610s # g_variant_unref (variant); 610s # return value; 610s # } 610s # 610s # static void 610s # good_types_proxy_init (GoodTypesProxy *proxy) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # proxy->priv = good_types_proxy_get_instance_private (proxy); 610s # #else 610s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 610s # #endif 610s # 610s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 610s # } 610s # 610s # static void 610s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusProxyClass *proxy_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = good_types_proxy_finalize; 610s # gobject_class->get_property = good_types_proxy_get_property; 610s # gobject_class->set_property = good_types_proxy_set_property; 610s # 610s # proxy_class = G_DBUS_PROXY_CLASS (klass); 610s # proxy_class->g_signal = good_types_proxy_g_signal; 610s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 610s # 610s # good_types_override_properties (gobject_class, 1); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # good_types_proxy_iface_init (GoodTypesIface *iface) 610s # { 610s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 610s # * 610s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # good_types_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with good_types_proxy_new(). 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_sync: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See good_types_proxy_new() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /** 610s # * good_types_proxy_new_for_bus: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 610s # * 610s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # good_types_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_for_bus_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with good_types_proxy_new_for_bus(). 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_for_bus_sync: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * GoodTypesSkeleton: 610s # * 610s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * GoodTypesSkeletonClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for GoodTypesSkeleton. 610s # */ 610s # 610s # struct _GoodTypesSkeletonPrivate 610s # { 610s # GValue *properties; 610s # GList *changed_properties; 610s # GSource *changed_properties_idle_source; 610s # GMainContext *context; 610s # GMutex lock; 610s # }; 610s # 610s # static void 610s # _good_types_skeleton_handle_method_call ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name, 610s # const gchar *method_name, 610s # GVariant *parameters, 610s # GDBusMethodInvocation *invocation, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # _ExtendedGDBusMethodInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # guint num_extra; 610s # gsize n; 610s # guint signal_id; 610s # GValue return_value = G_VALUE_INIT; 610s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 610s # g_assert (info != NULL); 610s # num_params = g_variant_n_children (parameters); 610s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 610s # n = 0; 610s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 610s # g_value_set_object (¶mv[n++], skeleton); 610s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 610s # g_value_set_object (¶mv[n++], invocation); 610s # if (info->pass_fdlist) 610s # { 610s # #ifdef G_OS_UNIX 610s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 610s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 610s # #else 610s # g_assert_not_reached (); 610s # #endif 610s # } 610s # g_variant_iter_init (&iter, parameters); 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 610s # g_value_init (&return_value, G_TYPE_BOOLEAN); 610s # g_signal_emitv (paramv, signal_id, 0, &return_value); 610s # if (!g_value_get_boolean (&return_value)) 610s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 610s # g_value_unset (&return_value); 610s # for (n = 0; n < num_params + num_extra; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static GVariant * 610s # _good_types_skeleton_handle_get_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # GVariant *ret; 610s # ret = NULL; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # g_value_init (&value, pspec->value_type); 610s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_value_unset (&value); 610s # } 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _good_types_skeleton_handle_set_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GVariant *variant, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # gboolean ret; 610s # ret = FALSE; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # if (info->use_gvariant) 610s # g_value_set_variant (&value, variant); 610s # else 610s # g_dbus_gvariant_to_gvalue (variant, &value); 610s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # g_value_unset (&value); 610s # ret = TRUE; 610s # } 610s # return ret; 610s # } 610s # 610s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 610s # { 610s # _good_types_skeleton_handle_method_call, 610s # _good_types_skeleton_handle_get_property, 610s # _good_types_skeleton_handle_set_property, 610s # {NULL} 610s # }; 610s # 610s # static GDBusInterfaceInfo * 610s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return good_types_interface_info (); 610s # } 610s # 610s # static GDBusInterfaceVTable * 610s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 610s # } 610s # 610s # static GVariant * 610s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 610s # 610s # GVariantBuilder builder; 610s # guint n; 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #else 610s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #endif 610s # if (_good_types_interface_info.parent_struct.properties == NULL) 610s # goto out; 610s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 610s # { 610s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 610s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 610s # { 610s # GVariant *value; 610s # 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); 610s # if (value != NULL) 610s # { 610s # g_variant_take_ref (value); 610s # g_variant_builder_add (&builder, "{sv}", info->name, value); 610s # g_variant_unref (value); 610s # } 610s # } 610s # } 610s # out: 610s # return g_variant_builder_end (&builder); 610s # } 610s # 610s # static gboolean _good_types_emit_changed (gpointer user_data); 610s # 610s # static void 610s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 610s # gboolean emit_changed = FALSE; 610s # 610s # g_mutex_lock (&skeleton->priv->lock); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # { 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # skeleton->priv->changed_properties_idle_source = NULL; 610s # emit_changed = TRUE; 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # 610s # if (emit_changed) 610s # _good_types_emit_changed (skeleton); 610s # } 610s # 610s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_ADD_PRIVATE (GoodTypesSkeleton) 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 610s # 610s # #endif 610s # static void 610s # good_types_skeleton_finalize (GObject *object) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # guint n; 610s # for (n = 0; n < 1; n++) 610s # g_value_unset (&skeleton->priv->properties[n]); 610s # g_free (skeleton->priv->properties); 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # g_main_context_unref (skeleton->priv->context); 610s # g_mutex_clear (&skeleton->priv->lock); 610s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # good_types_skeleton_get_property (GObject *object, 610s # guint prop_id, 610s # GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # g_mutex_lock (&skeleton->priv->lock); 610s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # } 610s # 610s # static gboolean 610s # _good_types_emit_changed (gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GList *l; 610s # GVariantBuilder builder; 610s # GVariantBuilder invalidated_builder; 610s # guint num_changes; 610s # 610s # g_mutex_lock (&skeleton->priv->lock); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 610s # #else 610s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 610s # #endif 610s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 610s # { 610s # ChangedProperty *cp = l->data; 610s # GVariant *variant; 610s # const GValue *cur_value; 610s # 610s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 610s # if (!_g_value_equal (cur_value, &cp->orig_value)) 610s # { 610s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 610s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 610s # g_variant_unref (variant); 610s # num_changes++; 610s # } 610s # } 610s # if (num_changes > 0) 610s # { 610s # GList *connections, *ll; 610s # GVariant *signal_variant; 610s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 610s # &builder, &invalidated_builder)); 610s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 610s # for (ll = connections; ll != NULL; ll = ll->next) 610s # { 610s # GDBusConnection *connection = ll->data; 610s # 610s # g_dbus_connection_emit_signal (connection, 610s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 610s # "org.freedesktop.DBus.Properties", 610s # "PropertiesChanged", 610s # signal_variant, 610s # NULL); 610s # } 610s # g_variant_unref (signal_variant); 610s # g_list_free_full (connections, g_object_unref); 610s # } 610s # else 610s # { 610s # g_variant_builder_clear (&builder); 610s # g_variant_builder_clear (&invalidated_builder); 610s # } 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # skeleton->priv->changed_properties = NULL; 610s # skeleton->priv->changed_properties_idle_source = NULL; 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # return FALSE; 610s # } 610s # 610s # static void 610s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 610s # { 610s # ChangedProperty *cp; 610s # GList *l; 610s # cp = NULL; 610s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 610s # { 610s # ChangedProperty *i_cp = l->data; 610s # if (i_cp->info == info) 610s # { 610s # cp = i_cp; 610s # break; 610s # } 610s # } 610s # if (cp == NULL) 610s # { 610s # cp = g_new0 (ChangedProperty, 1); 610s # cp->prop_id = prop_id; 610s # cp->info = info; 610s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 610s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 610s # g_value_copy (orig_value, &cp->orig_value); 610s # } 610s # } 610s # 610s # static void 610s # good_types_skeleton_notify (GObject *object, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_mutex_lock (&skeleton->priv->lock); 610s # if (skeleton->priv->changed_properties != NULL && 610s # skeleton->priv->changed_properties_idle_source == NULL) 610s # { 610s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 610s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 610s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 610s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 610s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 610s # g_source_unref (skeleton->priv->changed_properties_idle_source); 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # } 610s # 610s # static void 610s # good_types_skeleton_set_property (GObject *object, 610s # guint prop_id, 610s # const GValue *value, 610s # GParamSpec *pspec) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # g_mutex_lock (&skeleton->priv->lock); 610s # g_object_freeze_notify (object); 610s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 610s # { 610s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 610s # info->emits_changed_signal) 610s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 610s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 610s # g_object_notify_by_pspec (object, pspec); 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # g_object_thaw_notify (object); 610s # } 610s # 610s # static void 610s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 610s # #else 610s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 610s # #endif 610s # 610s # g_mutex_init (&skeleton->priv->lock); 610s # skeleton->priv->context = g_main_context_ref_thread_default (); 610s # skeleton->priv->properties = g_new0 (GValue, 1); 610s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 610s # } 610s # 610s # static GVariant * 610s # good_types_skeleton_get_good_property_type (GoodTypes *object) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # GVariant *value; 610s # g_mutex_lock (&skeleton->priv->lock); 610s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # return value; 610s # } 610s # 610s # static void 610s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusInterfaceSkeletonClass *skeleton_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = good_types_skeleton_finalize; 610s # gobject_class->get_property = good_types_skeleton_get_property; 610s # gobject_class->set_property = good_types_skeleton_set_property; 610s # gobject_class->notify = good_types_skeleton_notify; 610s # 610s # 610s # good_types_override_properties (gobject_class, 1); 610s # 610s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 610s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 610s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 610s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 610s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # good_types_skeleton_iface_init (GoodTypesIface *iface) 610s # { 610s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 610s # } 610s # 610s # /** 610s # * good_types_skeleton_new: 610s # * 610s # * Creates a skeleton object for the D-Bus interface GoodTypes. 610s # * 610s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 610s # */ 610s # GoodTypes * 610s # good_types_skeleton_new (void) 610s # { 610s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 610s # } 610s # Error: 610s # 610s # /tmp/tmpjjiypc6l/tmp_ia2f7kk.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmp_ia2f7kk.xml', '--output', '-', '--body'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifdef HAVE_CONFIG_H 610s # # include "config.h" 610s # #endif 610s # 610s # #include 610s # #ifdef G_OS_UNIX 610s # # include 610s # #endif 610s # 610s # #ifdef G_ENABLE_DEBUG 610s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 610s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 610s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 610s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 610s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 610s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 610s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 610s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 610s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 610s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 610s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 610s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 610s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 610s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 610s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 610s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 610s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 610s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 610s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 610s # #else /* !G_ENABLE_DEBUG */ 610s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 610s # * Do not access GValues directly in your code. Instead, use the 610s # * g_value_get_*() functions 610s # */ 610s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 610s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 610s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 610s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 610s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 610s # #endif /* !G_ENABLE_DEBUG */ 610s # 610s # typedef struct 610s # { 610s # GDBusArgInfo parent_struct; 610s # gboolean use_gvariant; 610s # } _ExtendedGDBusArgInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusMethodInfo parent_struct; 610s # const gchar *signal_name; 610s # gboolean pass_fdlist; 610s # } _ExtendedGDBusMethodInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusSignalInfo parent_struct; 610s # const gchar *signal_name; 610s # } _ExtendedGDBusSignalInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusPropertyInfo parent_struct; 610s # const gchar *hyphen_name; 610s # guint use_gvariant : 1; 610s # guint emits_changed_signal : 1; 610s # } _ExtendedGDBusPropertyInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusInterfaceInfo parent_struct; 610s # const gchar *hyphen_name; 610s # } _ExtendedGDBusInterfaceInfo; 610s # 610s # typedef struct 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # guint prop_id; 610s # GValue orig_value; /* the value before the change */ 610s # } ChangedProperty; 610s # 610s # static void 610s # _changed_property_free (ChangedProperty *data) 610s # { 610s # g_value_unset (&data->orig_value); 610s # g_free (data); 610s # } 610s # 610s # static gboolean 610s # _g_strv_equal0 (gchar **a, gchar **b) 610s # { 610s # gboolean ret = FALSE; 610s # guint n; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # if (g_strv_length (a) != g_strv_length (b)) 610s # goto out; 610s # for (n = 0; a[n] != NULL; n++) 610s # if (g_strcmp0 (a[n], b[n]) != 0) 610s # goto out; 610s # ret = TRUE; 610s # out: 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _g_variant_equal0 (GVariant *a, GVariant *b) 610s # { 610s # gboolean ret = FALSE; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # ret = g_variant_equal (a, b); 610s # out: 610s # return ret; 610s # } 610s # 610s # G_GNUC_UNUSED static gboolean 610s # _g_value_equal (const GValue *a, const GValue *b) 610s # { 610s # gboolean ret = FALSE; 610s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 610s # switch (G_VALUE_TYPE (a)) 610s # { 610s # case G_TYPE_BOOLEAN: 610s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 610s # break; 610s # case G_TYPE_UCHAR: 610s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 610s # break; 610s # case G_TYPE_INT: 610s # ret = (g_value_get_int (a) == g_value_get_int (b)); 610s # break; 610s # case G_TYPE_UINT: 610s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 610s # break; 610s # case G_TYPE_INT64: 610s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 610s # break; 610s # case G_TYPE_UINT64: 610s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 610s # break; 610s # case G_TYPE_DOUBLE: 610s # { 610s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 610s # gdouble da = g_value_get_double (a); 610s # gdouble db = g_value_get_double (b); 610s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 610s # } 610s # break; 610s # case G_TYPE_STRING: 610s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 610s # break; 610s # case G_TYPE_VARIANT: 610s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 610s # break; 610s # default: 610s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 610s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 610s # else 610s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 610s # break; 610s # } 610s # return ret; 610s # } 610s # 610s # /* ------------------------------------------------------------------------ 610s # * Code for interface GoodTypes 610s # * ------------------------------------------------------------------------ 610s # */ 610s # 610s # /** 610s # * SECTION:GoodTypes 610s # * @title: GoodTypes 610s # * @short_description: Generated C code for the GoodTypes D-Bus interface 610s # * 610s # * This section contains code for working with the GoodTypes D-Bus interface in C. 610s # */ 610s # 610s # /* ---- Introspection data for GoodTypes ---- */ 610s # 610s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 610s # { 610s # { 610s # -1, 610s # (gchar *) "GoodPropertyType", 610s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 610s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 610s # NULL 610s # }, 610s # "good-property-type", 610s # FALSE, 610s # TRUE 610s # }; 610s # 610s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 610s # { 610s # &_good_types_property_info_good_property_type.parent_struct, 610s # NULL 610s # }; 610s # 610s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 610s # { 610s # { 610s # -1, 610s # (gchar *) "GoodTypes", 610s # NULL, 610s # NULL, 610s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 610s # NULL 610s # }, 610s # "good-types", 610s # }; 610s # 610s # 610s # /** 610s # * good_types_interface_info: 610s # * 610s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 610s # * 610s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 610s # */ 610s # GDBusInterfaceInfo * 610s # good_types_interface_info (void) 610s # { 610s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 610s # } 610s # 610s # /** 610s # * good_types_override_properties: 610s # * @klass: The class structure for a #GObject derived class. 610s # * @property_id_begin: The property id to assign to the first overridden property. 610s # * 610s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 610s # * The properties are overridden in the order they are defined. 610s # * 610s # * Returns: The last property id. 610s # */ 610s # guint 610s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 610s # { 610s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 610s # return property_id_begin - 1; 610s # } 610s # 610s # 610s # 610s # /** 610s # * GoodTypes: 610s # * 610s # * Abstract interface type for the D-Bus interface GoodTypes. 610s # */ 610s # 610s # /** 610s # * GoodTypesIface: 610s # * @parent_iface: The parent interface. 610s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 610s # * 610s # * Virtual table for the D-Bus interface GoodTypes. 610s # */ 610s # 610s # typedef GoodTypesIface GoodTypesInterface; 610s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 610s # 610s # static void 610s # good_types_default_init (GoodTypesIface *iface) 610s # { 610s # /* GObject properties for D-Bus properties: */ 610s # /** 610s # * GoodTypes:good-property-type: 610s # * 610s # * Represents the D-Bus property "GoodPropertyType". 610s # * 610s # * 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. 610s # */ 610s # g_object_interface_install_property (iface, 610s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 610s # } 610s # 610s # /** 610s # * good_types_get_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * 610s # * Gets the value of the "GoodPropertyType" D-Bus property. 610s # * 610s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 610s # * 610s # * 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. 610s # * 610s # * 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. 610s # */ 610s # GVariant * 610s # good_types_get_good_property_type (GoodTypes *object) 610s # { 610s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 610s # 610s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 610s # } 610s # 610s # /** 610s # * good_types_dup_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * 610s # * Gets a copy of the "GoodPropertyType" D-Bus property. 610s # * 610s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 610s # * 610s # * 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(). 610s # */ 610s # GVariant * 610s # good_types_dup_good_property_type (GoodTypes *object) 610s # { 610s # GVariant *value; 610s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 610s # return value; 610s # } 610s # 610s # /** 610s # * good_types_set_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * @value: The value to set. 610s # * 610s # * Sets the "GoodPropertyType" D-Bus property to @value. 610s # * 610s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 610s # */ 610s # void 610s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 610s # { 610s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 610s # } 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * GoodTypesProxy: 610s # * 610s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * GoodTypesProxyClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for GoodTypesProxy. 610s # */ 610s # 610s # struct _GoodTypesProxyPrivate 610s # { 610s # GData *qdata; 610s # }; 610s # 610s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 610s # G_ADD_PRIVATE (GoodTypesProxy) 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 610s # 610s # #endif 610s # static void 610s # good_types_proxy_finalize (GObject *object) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 610s # g_datalist_clear (&proxy->priv->qdata); 610s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # good_types_proxy_get_property (GObject *object, 610s # guint prop_id, 610s # GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GVariant *variant; 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 610s # if (info->use_gvariant) 610s # { 610s # g_value_set_variant (value, variant); 610s # } 610s # else 610s # { 610s # if (variant != NULL) 610s # g_dbus_gvariant_to_gvalue (variant, value); 610s # } 610s # if (variant != NULL) 610s # g_variant_unref (variant); 610s # } 610s # 610s # static void 610s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 610s # GAsyncResult *res, 610s # gpointer user_data) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info = user_data; 610s # GError *error; 610s # GVariant *_ret; 610s # error = NULL; 610s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 610s # if (!_ret) 610s # { 610s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 610s # info->parent_struct.name, 610s # error->message, g_quark_to_string (error->domain), error->code); 610s # g_error_free (error); 610s # } 610s # else 610s # { 610s # g_variant_unref (_ret); 610s # } 610s # } 610s # 610s # static void 610s # good_types_proxy_set_property (GObject *object, 610s # guint prop_id, 610s # const GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GVariant *variant; 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_dbus_proxy_call (G_DBUS_PROXY (object), 610s # "org.freedesktop.DBus.Properties.Set", 610s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 610s # G_DBUS_CALL_FLAGS_NONE, 610s # -1, 610s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 610s # g_variant_unref (variant); 610s # } 610s # 610s # static void 610s # good_types_proxy_g_signal (GDBusProxy *proxy, 610s # const gchar *sender_name G_GNUC_UNUSED, 610s # const gchar *signal_name, 610s # GVariant *parameters) 610s # { 610s # _ExtendedGDBusSignalInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # gsize n; 610s # guint signal_id; 610s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 610s # if (info == NULL) 610s # return; 610s # num_params = g_variant_n_children (parameters); 610s # paramv = g_new0 (GValue, num_params + 1); 610s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 610s # g_value_set_object (¶mv[0], proxy); 610s # g_variant_iter_init (&iter, parameters); 610s # n = 1; 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 610s # g_signal_emitv (paramv, signal_id, 0, NULL); 610s # for (n = 0; n < num_params + 1; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static void 610s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 610s # GVariant *changed_properties, 610s # const gchar *const *invalidated_properties) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 610s # guint n; 610s # const gchar *key; 610s # GVariantIter *iter; 610s # _ExtendedGDBusPropertyInfo *info; 610s # g_variant_get (changed_properties, "a{sv}", &iter); 610s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 610s # g_datalist_remove_data (&proxy->priv->qdata, key); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # g_variant_iter_free (iter); 610s # for (n = 0; invalidated_properties[n] != NULL; n++) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 610s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # } 610s # 610s # static GVariant * 610s # good_types_proxy_get_good_property_type (GoodTypes *object) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 610s # GVariant *variant; 610s # GVariant *value = NULL; 610s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 610s # value = variant; 610s # if (variant != NULL) 610s # g_variant_unref (variant); 610s # return value; 610s # } 610s # 610s # static void 610s # good_types_proxy_init (GoodTypesProxy *proxy) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # proxy->priv = good_types_proxy_get_instance_private (proxy); 610s # #else 610s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 610s # #endif 610s # 610s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 610s # } 610s # 610s # static void 610s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusProxyClass *proxy_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = good_types_proxy_finalize; 610s # gobject_class->get_property = good_types_proxy_get_property; 610s # gobject_class->set_property = good_types_proxy_set_property; 610s # 610s # proxy_class = G_DBUS_PROXY_CLASS (klass); 610s # proxy_class->g_signal = good_types_proxy_g_signal; 610s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 610s # 610s # good_types_override_properties (gobject_class, 1); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # good_types_proxy_iface_init (GoodTypesIface *iface) 610s # { 610s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 610s # * 610s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # good_types_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with good_types_proxy_new(). 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_sync: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See good_types_proxy_new() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /** 610s # * good_types_proxy_new_for_bus: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 610s # * 610s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # good_types_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_for_bus_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with good_types_proxy_new_for_bus(). 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_for_bus_sync: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * GoodTypesSkeleton: 610s # * 610s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * GoodTypesSkeletonClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for GoodTypesSkeleton. 610s # */ 610s # 610s # struct _GoodTypesSkeletonPrivate 610s # { 610s # GValue *properties; 610s # GList *changed_properties; 610s # GSource *changed_properties_idle_source; 610s # GMainContext *context; 610s # GMutex lock; 610s # }; 610s # 610s # static void 610s # _good_types_skeleton_handle_method_call ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name, 610s # const gchar *method_name, 610s # GVariant *parameters, 610s # GDBusMethodInvocation *invocation, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # _ExtendedGDBusMethodInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # guint num_extra; 610s # gsize n; 610s # guint signal_id; 610s # GValue return_value = G_VALUE_INIT; 610s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 610s # g_assert (info != NULL); 610s # num_params = g_variant_n_children (parameters); 610s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 610s # n = 0; 610s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 610s # g_value_set_object (¶mv[n++], skeleton); 610s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 610s # g_value_set_object (¶mv[n++], invocation); 610s # if (info->pass_fdlist) 610s # { 610s # #ifdef G_OS_UNIX 610s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 610s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 610s # #else 610s # g_assert_not_reached (); 610s # #endif 610s # } 610s # g_variant_iter_init (&iter, parameters); 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 610s # g_value_init (&return_value, G_TYPE_BOOLEAN); 610s # g_signal_emitv (paramv, signal_id, 0, &return_value); 610s # if (!g_value_get_boolean (&return_value)) 610s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 610s # g_value_unset (&return_value); 610s # for (n = 0; n < num_params + num_extra; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static GVariant * 610s # _good_types_skeleton_handle_get_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # GVariant *ret; 610s # ret = NULL; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # g_value_init (&value, pspec->value_type); 610s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_value_unset (&value); 610s # } 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _good_types_skeleton_handle_set_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GVariant *variant, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # gboolean ret; 610s # ret = FALSE; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # if (info->use_gvariant) 610s # g_value_set_variant (&value, variant); 610s # else 610s # g_dbus_gvariant_to_gvalue (variant, &value); 610s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # g_value_unset (&value); 610s # ret = TRUE; 610s # } 610s # return ret; 610s # } 610s # 610s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 610s # { 610s # _good_types_skeleton_handle_method_call, 610s # _good_types_skeleton_handle_get_property, 610s # _good_types_skeleton_handle_set_property, 610s # {NULL} 610s # }; 610s # 610s # static GDBusInterfaceInfo * 610s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return good_types_interface_info (); 610s # } 610s # 610s # static GDBusInterfaceVTable * 610s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 610s # } 610s # 610s # static GVariant * 610s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 610s # 610s # GVariantBuilder builder; 610s # guint n; 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #else 610s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #endif 610s # if (_good_types_interface_info.parent_struct.properties == NULL) 610s # goto out; 610s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 610s # { 610s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 610s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 610s # { 610s # GVariant *value; 610s # 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); 610s # if (value != NULL) 610s # { 610s # g_variant_take_ref (value); 610s # g_variant_builder_add (&builder, "{sv}", info->name, value); 610s # g_variant_unref (value); 610s # } 610s # } 610s # } 610s # out: 610s # return g_variant_builder_end (&builder); 610s # } 610s # 610s # static gboolean _good_types_emit_changed (gpointer user_data); 610s # 610s # static void 610s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 610s # gboolean emit_changed = FALSE; 610s # 610s # g_mutex_lock (&skeleton->priv->lock); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # { 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # skeleton->priv->changed_properties_idle_source = NULL; 610s # emit_changed = TRUE; 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # 610s # if (emit_changed) 610s # _good_types_emit_changed (skeleton); 610s # } 610s # 610s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_ADD_PRIVATE (GoodTypesSkeleton) 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 610s # 610s # #endif 610s # static void 610s # good_types_skeleton_finalize (GObject *object) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # guint n; 610s # for (n = 0; n < 1; n++) 610s # g_value_unset (&skeleton->priv->properties[n]); 610s # g_free (skeleton->priv->properties); 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # g_main_context_unref (skeleton->priv->context); 610s # g_mutex_clear (&skeleton->priv->lock); 610s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # good_types_skeleton_get_property (GObject *object, 610s # guint prop_id, 610s # GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # g_mutex_lock (&skeleton->priv->lock); 610s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # } 610s # 610s # static gboolean 610s # _good_types_emit_changed (gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GList *l; 610s # GVariantBuilder builder; 610s # GVariantBuilder invalidated_builder; 610s # guint num_changes; 610s # 610s # g_mutex_lock (&skeleton->priv->lock); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 610s # #else 610s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 610s # #endif 610s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 610s # { 610s # ChangedProperty *cp = l->data; 610s # GVariant *variant; 610s # const GValue *cur_value; 610s # 610s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 610s # if (!_g_value_equal (cur_value, &cp->orig_value)) 610s # { 610s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 610s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 610s # g_variant_unref (variant); 610s # num_changes++; 610s # } 610s # } 610s # if (num_changes > 0) 610s # { 610s # GList *connections, *ll; 610s # GVariant *signal_variant; 610s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 610s # &builder, &invalidated_builder)); 610s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 610s # for (ll = connections; ll != NULL; ll = ll->next) 610s # { 610s # GDBusConnection *connection = ll->data; 610s # 610s # g_dbus_connection_emit_signal (connection, 610s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 610s # "org.freedesktop.DBus.Properties", 610s # "PropertiesChanged", 610s # signal_variant, 610s # NULL); 610s # } 610s # g_variant_unref (signal_variant); 610s # g_list_free_full (connections, g_object_unref); 610s # } 610s # else 610s # { 610s # g_variant_builder_clear (&builder); 610s # g_variant_builder_clear (&invalidated_builder); 610s # } 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # skeleton->priv->changed_properties = NULL; 610s # skeleton->priv->changed_properties_idle_source = NULL; 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # return FALSE; 610s # } 610s # 610s # static void 610s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 610s # { 610s # ChangedProperty *cp; 610s # GList *l; 610s # cp = NULL; 610s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 610s # { 610s # ChangedProperty *i_cp = l->data; 610s # if (i_cp->info == info) 610s # { 610s # cp = i_cp; 610s # break; 610s # } 610s # } 610s # if (cp == NULL) 610s # { 610s # cp = g_new0 (ChangedProperty, 1); 610s # cp->prop_id = prop_id; 610s # cp->info = info; 610s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 610s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 610s # g_value_copy (orig_value, &cp->orig_value); 610s # } 610s # } 610s # 610s # static void 610s # good_types_skeleton_notify (GObject *object, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_mutex_lock (&skeleton->priv->lock); 610s # if (skeleton->priv->changed_properties != NULL && 610s # skeleton->priv->changed_properties_idle_source == NULL) 610s # { 610s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 610s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 610s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 610s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 610s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 610s # g_source_unref (skeleton->priv->changed_properties_idle_source); 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # } 610s # 610s # static void 610s # good_types_skeleton_set_property (GObject *object, 610s # guint prop_id, 610s # const GValue *value, 610s # GParamSpec *pspec) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # g_mutex_lock (&skeleton->priv->lock); 610s # g_object_freeze_notify (object); 610s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 610s # { 610s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 610s # info->emits_changed_signal) 610s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 610s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 610s # g_object_notify_by_pspec (object, pspec); 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # g_object_thaw_notify (object); 610s # } 610s # 610s # static void 610s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 610s # #else 610s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 610s # #endif 610s # 610s # g_mutex_init (&skeleton->priv->lock); 610s # skeleton->priv->context = g_main_context_ref_thread_default (); 610s # skeleton->priv->properties = g_new0 (GValue, 1); 610s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 610s # } 610s # 610s # static GVariant * 610s # good_types_skeleton_get_good_property_type (GoodTypes *object) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # GVariant *value; 610s # g_mutex_lock (&skeleton->priv->lock); 610s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # return value; 610s # } 610s # 610s # static void 610s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusInterfaceSkeletonClass *skeleton_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = good_types_skeleton_finalize; 610s # gobject_class->get_property = good_types_skeleton_get_property; 610s # gobject_class->set_property = good_types_skeleton_set_property; 610s # gobject_class->notify = good_types_skeleton_notify; 610s # 610s # 610s # good_types_override_properties (gobject_class, 1); 610s # 610s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 610s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 610s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 610s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 610s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # good_types_skeleton_iface_init (GoodTypesIface *iface) 610s # { 610s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 610s # } 610s # 610s # /** 610s # * good_types_skeleton_new: 610s # * 610s # * Creates a skeleton object for the D-Bus interface GoodTypes. 610s # * 610s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 610s # */ 610s # GoodTypes * 610s # good_types_skeleton_new (void) 610s # { 610s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 610s # } 610s # Error: 610s # 610s # /tmp/tmpjjiypc6l/tmp22zo40jd.xml: 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjjiypc6l/tmp22zo40jd.xml', '--output', '-', '--body'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifdef HAVE_CONFIG_H 610s # # include "config.h" 610s # #endif 610s # 610s # #include 610s # #ifdef G_OS_UNIX 610s # # include 610s # #endif 610s # 610s # #ifdef G_ENABLE_DEBUG 610s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 610s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 610s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 610s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 610s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 610s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 610s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 610s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 610s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 610s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 610s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 610s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 610s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 610s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 610s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 610s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 610s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 610s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 610s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 610s # #else /* !G_ENABLE_DEBUG */ 610s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 610s # * Do not access GValues directly in your code. Instead, use the 610s # * g_value_get_*() functions 610s # */ 610s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 610s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 610s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 610s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 610s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 610s # #endif /* !G_ENABLE_DEBUG */ 610s # 610s # typedef struct 610s # { 610s # GDBusArgInfo parent_struct; 610s # gboolean use_gvariant; 610s # } _ExtendedGDBusArgInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusMethodInfo parent_struct; 610s # const gchar *signal_name; 610s # gboolean pass_fdlist; 610s # } _ExtendedGDBusMethodInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusSignalInfo parent_struct; 610s # const gchar *signal_name; 610s # } _ExtendedGDBusSignalInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusPropertyInfo parent_struct; 610s # const gchar *hyphen_name; 610s # guint use_gvariant : 1; 610s # guint emits_changed_signal : 1; 610s # } _ExtendedGDBusPropertyInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusInterfaceInfo parent_struct; 610s # const gchar *hyphen_name; 610s # } _ExtendedGDBusInterfaceInfo; 610s # 610s # typedef struct 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # guint prop_id; 610s # GValue orig_value; /* the value before the change */ 610s # } ChangedProperty; 610s # 610s # static void 610s # _changed_property_free (ChangedProperty *data) 610s # { 610s # g_value_unset (&data->orig_value); 610s # g_free (data); 610s # } 610s # 610s # static gboolean 610s # _g_strv_equal0 (gchar **a, gchar **b) 610s # { 610s # gboolean ret = FALSE; 610s # guint n; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # if (g_strv_length (a) != g_strv_length (b)) 610s # goto out; 610s # for (n = 0; a[n] != NULL; n++) 610s # if (g_strcmp0 (a[n], b[n]) != 0) 610s # goto out; 610s # ret = TRUE; 610s # out: 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _g_variant_equal0 (GVariant *a, GVariant *b) 610s # { 610s # gboolean ret = FALSE; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # ret = g_variant_equal (a, b); 610s # out: 610s # return ret; 610s # } 610s # 610s # G_GNUC_UNUSED static gboolean 610s # _g_value_equal (const GValue *a, const GValue *b) 610s # { 610s # gboolean ret = FALSE; 610s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 610s # switch (G_VALUE_TYPE (a)) 610s # { 610s # case G_TYPE_BOOLEAN: 610s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 610s # break; 610s # case G_TYPE_UCHAR: 610s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 610s # break; 610s # case G_TYPE_INT: 610s # ret = (g_value_get_int (a) == g_value_get_int (b)); 610s # break; 610s # case G_TYPE_UINT: 610s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 610s # break; 610s # case G_TYPE_INT64: 610s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 610s # break; 610s # case G_TYPE_UINT64: 610s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 610s # break; 610s # case G_TYPE_DOUBLE: 610s # { 610s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 610s # gdouble da = g_value_get_double (a); 610s # gdouble db = g_value_get_double (b); 610s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 610s # } 610s # break; 610s # case G_TYPE_STRING: 610s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 610s # break; 610s # case G_TYPE_VARIANT: 610s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 610s # break; 610s # default: 610s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 610s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 610s # else 610s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 610s # break; 610s # } 610s # return ret; 610s # } 610s # 610s # /* ------------------------------------------------------------------------ 610s # * Code for interface GoodTypes 610s # * ------------------------------------------------------------------------ 610s # */ 610s # 610s # /** 610s # * SECTION:GoodTypes 610s # * @title: GoodTypes 610s # * @short_description: Generated C code for the GoodTypes D-Bus interface 610s # * 610s # * This section contains code for working with the GoodTypes D-Bus interface in C. 610s # */ 610s # 610s # /* ---- Introspection data for GoodTypes ---- */ 610s # 610s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 610s # { 610s # { 610s # -1, 610s # (gchar *) "GoodPropertyType", 610s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 610s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 610s # NULL 610s # }, 610s # "good-property-type", 610s # FALSE, 610s # TRUE 610s # }; 610s # 610s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 610s # { 610s # &_good_types_property_info_good_property_type.parent_struct, 610s # NULL 610s # }; 610s # 610s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 610s # { 610s # { 610s # -1, 610s # (gchar *) "GoodTypes", 610s # NULL, 610s # NULL, 610s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 610s # NULL 610s # }, 610s # "good-types", 610s # }; 610s # 610s # 610s # /** 610s # * good_types_interface_info: 610s # * 610s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 610s # * 610s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 610s # */ 610s # GDBusInterfaceInfo * 610s # good_types_interface_info (void) 610s # { 610s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 610s # } 610s # 610s # /** 610s # * good_types_override_properties: 610s # * @klass: The class structure for a #GObject derived class. 610s # * @property_id_begin: The property id to assign to the first overridden property. 610s # * 610s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 610s # * The properties are overridden in the order they are defined. 610s # * 610s # * Returns: The last property id. 610s # */ 610s # guint 610s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 610s # { 610s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 610s # return property_id_begin - 1; 610s # } 610s # 610s # 610s # 610s # /** 610s # * GoodTypes: 610s # * 610s # * Abstract interface type for the D-Bus interface GoodTypes. 610s # */ 610s # 610s # /** 610s # * GoodTypesIface: 610s # * @parent_iface: The parent interface. 610s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 610s # * 610s # * Virtual table for the D-Bus interface GoodTypes. 610s # */ 610s # 610s # typedef GoodTypesIface GoodTypesInterface; 610s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 610s # 610s # static void 610s # good_types_default_init (GoodTypesIface *iface) 610s # { 610s # /* GObject properties for D-Bus properties: */ 610s # /** 610s # * GoodTypes:good-property-type: 610s # * 610s # * Represents the D-Bus property "GoodPropertyType". 610s # * 610s # * 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. 610s # */ 610s # g_object_interface_install_property (iface, 610s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 610s # } 610s # 610s # /** 610s # * good_types_get_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * 610s # * Gets the value of the "GoodPropertyType" D-Bus property. 610s # * 610s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 610s # * 610s # * 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. 610s # * 610s # * 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. 610s # */ 610s # GVariant * 610s # good_types_get_good_property_type (GoodTypes *object) 610s # { 610s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 610s # 610s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 610s # } 610s # 610s # /** 610s # * good_types_dup_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * 610s # * Gets a copy of the "GoodPropertyType" D-Bus property. 610s # * 610s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 610s # * 610s # * 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(). 610s # */ 610s # GVariant * 610s # good_types_dup_good_property_type (GoodTypes *object) 610s # { 610s # GVariant *value; 610s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 610s # return value; 610s # } 610s # 610s # /** 610s # * good_types_set_good_property_type: (skip) 610s # * @object: A GoodTypes. 610s # * @value: The value to set. 610s # * 610s # * Sets the "GoodPropertyType" D-Bus property to @value. 610s # * 610s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 610s # */ 610s # void 610s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 610s # { 610s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 610s # } 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * GoodTypesProxy: 610s # * 610s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * GoodTypesProxyClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for GoodTypesProxy. 610s # */ 610s # 610s # struct _GoodTypesProxyPrivate 610s # { 610s # GData *qdata; 610s # }; 610s # 610s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 610s # G_ADD_PRIVATE (GoodTypesProxy) 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 610s # 610s # #endif 610s # static void 610s # good_types_proxy_finalize (GObject *object) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 610s # g_datalist_clear (&proxy->priv->qdata); 610s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # good_types_proxy_get_property (GObject *object, 610s # guint prop_id, 610s # GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GVariant *variant; 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 610s # if (info->use_gvariant) 610s # { 610s # g_value_set_variant (value, variant); 610s # } 610s # else 610s # { 610s # if (variant != NULL) 610s # g_dbus_gvariant_to_gvalue (variant, value); 610s # } 610s # if (variant != NULL) 610s # g_variant_unref (variant); 610s # } 610s # 610s # static void 610s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 610s # GAsyncResult *res, 610s # gpointer user_data) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info = user_data; 610s # GError *error; 610s # GVariant *_ret; 610s # error = NULL; 610s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 610s # if (!_ret) 610s # { 610s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 610s # info->parent_struct.name, 610s # error->message, g_quark_to_string (error->domain), error->code); 610s # g_error_free (error); 610s # } 610s # else 610s # { 610s # g_variant_unref (_ret); 610s # } 610s # } 610s # 610s # static void 610s # good_types_proxy_set_property (GObject *object, 610s # guint prop_id, 610s # const GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GVariant *variant; 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_dbus_proxy_call (G_DBUS_PROXY (object), 610s # "org.freedesktop.DBus.Properties.Set", 610s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 610s # G_DBUS_CALL_FLAGS_NONE, 610s # -1, 610s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 610s # g_variant_unref (variant); 610s # } 610s # 610s # static void 610s # good_types_proxy_g_signal (GDBusProxy *proxy, 610s # const gchar *sender_name G_GNUC_UNUSED, 610s # const gchar *signal_name, 610s # GVariant *parameters) 610s # { 610s # _ExtendedGDBusSignalInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # gsize n; 610s # guint signal_id; 610s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 610s # if (info == NULL) 610s # return; 610s # num_params = g_variant_n_children (parameters); 610s # paramv = g_new0 (GValue, num_params + 1); 610s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 610s # g_value_set_object (¶mv[0], proxy); 610s # g_variant_iter_init (&iter, parameters); 610s # n = 1; 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 610s # g_signal_emitv (paramv, signal_id, 0, NULL); 610s # for (n = 0; n < num_params + 1; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static void 610s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 610s # GVariant *changed_properties, 610s # const gchar *const *invalidated_properties) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 610s # guint n; 610s # const gchar *key; 610s # GVariantIter *iter; 610s # _ExtendedGDBusPropertyInfo *info; 610s # g_variant_get (changed_properties, "a{sv}", &iter); 610s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 610s # g_datalist_remove_data (&proxy->priv->qdata, key); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # g_variant_iter_free (iter); 610s # for (n = 0; invalidated_properties[n] != NULL; n++) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 610s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # } 610s # 610s # static GVariant * 610s # good_types_proxy_get_good_property_type (GoodTypes *object) 610s # { 610s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 610s # GVariant *variant; 610s # GVariant *value = NULL; 610s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 610s # value = variant; 610s # if (variant != NULL) 610s # g_variant_unref (variant); 610s # return value; 610s # } 610s # 610s # static void 610s # good_types_proxy_init (GoodTypesProxy *proxy) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # proxy->priv = good_types_proxy_get_instance_private (proxy); 610s # #else 610s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 610s # #endif 610s # 610s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 610s # } 610s # 610s # static void 610s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusProxyClass *proxy_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = good_types_proxy_finalize; 610s # gobject_class->get_property = good_types_proxy_get_property; 610s # gobject_class->set_property = good_types_proxy_set_property; 610s # 610s # proxy_class = G_DBUS_PROXY_CLASS (klass); 610s # proxy_class->g_signal = good_types_proxy_g_signal; 610s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 610s # 610s # good_types_override_properties (gobject_class, 1); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # good_types_proxy_iface_init (GoodTypesIface *iface) 610s # { 610s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 610s # * 610s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # good_types_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with good_types_proxy_new(). 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_sync: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See good_types_proxy_new() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /** 610s # * good_types_proxy_new_for_bus: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 610s # * 610s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # good_types_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_for_bus_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with good_types_proxy_new_for_bus(). 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * good_types_proxy_new_for_bus_sync: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # GoodTypes * 610s # good_types_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return GOOD_TYPES (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * GoodTypesSkeleton: 610s # * 610s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * GoodTypesSkeletonClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for GoodTypesSkeleton. 610s # */ 610s # 610s # struct _GoodTypesSkeletonPrivate 610s # { 610s # GValue *properties; 610s # GList *changed_properties; 610s # GSource *changed_properties_idle_source; 610s # GMainContext *context; 610s # GMutex lock; 610s # }; 610s # 610s # static void 610s # _good_types_skeleton_handle_method_call ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name, 610s # const gchar *method_name, 610s # GVariant *parameters, 610s # GDBusMethodInvocation *invocation, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # _ExtendedGDBusMethodInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # guint num_extra; 610s # gsize n; 610s # guint signal_id; 610s # GValue return_value = G_VALUE_INIT; 610s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 610s # g_assert (info != NULL); 610s # num_params = g_variant_n_children (parameters); 610s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 610s # n = 0; 610s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 610s # g_value_set_object (¶mv[n++], skeleton); 610s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 610s # g_value_set_object (¶mv[n++], invocation); 610s # if (info->pass_fdlist) 610s # { 610s # #ifdef G_OS_UNIX 610s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 610s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 610s # #else 610s # g_assert_not_reached (); 610s # #endif 610s # } 610s # g_variant_iter_init (&iter, parameters); 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 610s # g_value_init (&return_value, G_TYPE_BOOLEAN); 610s # g_signal_emitv (paramv, signal_id, 0, &return_value); 610s # if (!g_value_get_boolean (&return_value)) 610s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 610s # g_value_unset (&return_value); 610s # for (n = 0; n < num_params + num_extra; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static GVariant * 610s # _good_types_skeleton_handle_get_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # GVariant *ret; 610s # ret = NULL; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # g_value_init (&value, pspec->value_type); 610s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_value_unset (&value); 610s # } 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _good_types_skeleton_handle_set_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GVariant *variant, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # gboolean ret; 610s # ret = FALSE; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # if (info->use_gvariant) 610s # g_value_set_variant (&value, variant); 610s # else 610s # g_dbus_gvariant_to_gvalue (variant, &value); 610s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # g_value_unset (&value); 610s # ret = TRUE; 610s # } 610s # return ret; 610s # } 610s # 610s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 610s # { 610s # _good_types_skeleton_handle_method_call, 610s # _good_types_skeleton_handle_get_property, 610s # _good_types_skeleton_handle_set_property, 610s # {NULL} 610s # }; 610s # 610s # static GDBusInterfaceInfo * 610s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return good_types_interface_info (); 610s # } 610s # 610s # static GDBusInterfaceVTable * 610s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 610s # } 610s # 610s # static GVariant * 610s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 610s # 610s # GVariantBuilder builder; 610s # guint n; 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #else 610s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #endif 610s # if (_good_types_interface_info.parent_struct.properties == NULL) 610s # goto out; 610s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 610s # { 610s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 610s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 610s # { 610s # GVariant *value; 610s # 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); 610s # if (value != NULL) 610s # { 610s # g_variant_take_ref (value); 610s # g_variant_builder_add (&builder, "{sv}", info->name, value); 610s # g_variant_unref (value); 610s # } 610s # } 610s # } 610s # out: 610s # return g_variant_builder_end (&builder); 610s # } 610s # 610s # static gboolean _good_types_emit_changed (gpointer user_data); 610s # 610s # static void 610s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 610s # gboolean emit_changed = FALSE; 610s # 610s # g_mutex_lock (&skeleton->priv->lock); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # { 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # skeleton->priv->changed_properties_idle_source = NULL; 610s # emit_changed = TRUE; 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # 610s # if (emit_changed) 610s # _good_types_emit_changed (skeleton); 610s # } 610s # 610s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_ADD_PRIVATE (GoodTypesSkeleton) 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 610s # 610s # #endif 610s # static void 610s # good_types_skeleton_finalize (GObject *object) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # guint n; 610s # for (n = 0; n < 1; n++) 610s # g_value_unset (&skeleton->priv->properties[n]); 610s # g_free (skeleton->priv->properties); 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # g_main_context_unref (skeleton->priv->context); 610s # g_mutex_clear (&skeleton->priv->lock); 610s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # good_types_skeleton_get_property (GObject *object, 610s # guint prop_id, 610s # GValue *value, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # g_mutex_lock (&skeleton->priv->lock); 610s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # } 610s # 610s # static gboolean 610s # _good_types_emit_changed (gpointer user_data) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 610s # GList *l; 610s # GVariantBuilder builder; 610s # GVariantBuilder invalidated_builder; 610s # guint num_changes; 610s # 610s # g_mutex_lock (&skeleton->priv->lock); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 610s # #else 610s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 610s # #endif 610s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 610s # { 610s # ChangedProperty *cp = l->data; 610s # GVariant *variant; 610s # const GValue *cur_value; 610s # 610s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 610s # if (!_g_value_equal (cur_value, &cp->orig_value)) 610s # { 610s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 610s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 610s # g_variant_unref (variant); 610s # num_changes++; 610s # } 610s # } 610s # if (num_changes > 0) 610s # { 610s # GList *connections, *ll; 610s # GVariant *signal_variant; 610s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 610s # &builder, &invalidated_builder)); 610s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 610s # for (ll = connections; ll != NULL; ll = ll->next) 610s # { 610s # GDBusConnection *connection = ll->data; 610s # 610s # g_dbus_connection_emit_signal (connection, 610s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 610s # "org.freedesktop.DBus.Properties", 610s # "PropertiesChanged", 610s # signal_variant, 610s # NULL); 610s # } 610s # g_variant_unref (signal_variant); 610s # g_list_free_full (connections, g_object_unref); 610s # } 610s # else 610s # { 610s # g_variant_builder_clear (&builder); 610s # g_variant_builder_clear (&invalidated_builder); 610s # } 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # skeleton->priv->changed_properties = NULL; 610s # skeleton->priv->changed_properties_idle_source = NULL; 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # return FALSE; 610s # } 610s # 610s # static void 610s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 610s # { 610s # ChangedProperty *cp; 610s # GList *l; 610s # cp = NULL; 610s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 610s # { 610s # ChangedProperty *i_cp = l->data; 610s # if (i_cp->info == info) 610s # { 610s # cp = i_cp; 610s # break; 610s # } 610s # } 610s # if (cp == NULL) 610s # { 610s # cp = g_new0 (ChangedProperty, 1); 610s # cp->prop_id = prop_id; 610s # cp->info = info; 610s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 610s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 610s # g_value_copy (orig_value, &cp->orig_value); 610s # } 610s # } 610s # 610s # static void 610s # good_types_skeleton_notify (GObject *object, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_mutex_lock (&skeleton->priv->lock); 610s # if (skeleton->priv->changed_properties != NULL && 610s # skeleton->priv->changed_properties_idle_source == NULL) 610s # { 610s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 610s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 610s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 610s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 610s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 610s # g_source_unref (skeleton->priv->changed_properties_idle_source); 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # } 610s # 610s # static void 610s # good_types_skeleton_set_property (GObject *object, 610s # guint prop_id, 610s # const GValue *value, 610s # GParamSpec *pspec) 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # g_assert (prop_id != 0 && prop_id - 1 < 1); 610s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 610s # g_mutex_lock (&skeleton->priv->lock); 610s # g_object_freeze_notify (object); 610s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 610s # { 610s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 610s # info->emits_changed_signal) 610s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 610s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 610s # g_object_notify_by_pspec (object, pspec); 610s # } 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # g_object_thaw_notify (object); 610s # } 610s # 610s # static void 610s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 610s # #else 610s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 610s # #endif 610s # 610s # g_mutex_init (&skeleton->priv->lock); 610s # skeleton->priv->context = g_main_context_ref_thread_default (); 610s # skeleton->priv->properties = g_new0 (GValue, 1); 610s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 610s # } 610s # 610s # static GVariant * 610s # good_types_skeleton_get_good_property_type (GoodTypes *object) 610s # { 610s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 610s # GVariant *value; 610s # g_mutex_lock (&skeleton->priv->lock); 610s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 610s # g_mutex_unlock (&skeleton->priv->lock); 610s # return value; 610s # } 610s # 610s # static void 610s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusInterfaceSkeletonClass *skeleton_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = good_types_skeleton_finalize; 610s # gobject_class->get_property = good_types_skeleton_get_property; 610s # gobject_class->set_property = good_types_skeleton_set_property; 610s # gobject_class->notify = good_types_skeleton_notify; 610s # 610s # 610s # good_types_override_properties (gobject_class, 1); 610s # 610s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 610s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 610s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 610s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 610s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # good_types_skeleton_iface_init (GoodTypesIface *iface) 610s # { 610s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 610s # } 610s # 610s # /** 610s # * good_types_skeleton_new: 610s # * 610s # * Creates a skeleton object for the D-Bus interface GoodTypes. 610s # * 610s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 610s # */ 610s # GoodTypes * 610s # good_types_skeleton_new (void) 610s # { 610s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 610s # } 610s # Error: 610s ok 3 __main__.TestCodegen.test_empty_interface_body 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpmssvz1xo 610s # /tmp/tmpmssvz1xo/tmpa82fwxu1.xml: 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmssvz1xo/tmpa82fwxu1.xml', '--output', '-', '--body'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifdef HAVE_CONFIG_H 610s # # include "config.h" 610s # #endif 610s # 610s # #include 610s # #ifdef G_OS_UNIX 610s # # include 610s # #endif 610s # 610s # #ifdef G_ENABLE_DEBUG 610s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 610s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 610s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 610s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 610s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 610s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 610s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 610s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 610s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 610s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 610s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 610s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 610s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 610s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 610s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 610s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 610s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 610s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 610s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 610s # #else /* !G_ENABLE_DEBUG */ 610s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 610s # * Do not access GValues directly in your code. Instead, use the 610s # * g_value_get_*() functions 610s # */ 610s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 610s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 610s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 610s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 610s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 610s # #endif /* !G_ENABLE_DEBUG */ 610s # 610s # typedef struct 610s # { 610s # GDBusArgInfo parent_struct; 610s # gboolean use_gvariant; 610s # } _ExtendedGDBusArgInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusMethodInfo parent_struct; 610s # const gchar *signal_name; 610s # gboolean pass_fdlist; 610s # } _ExtendedGDBusMethodInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusSignalInfo parent_struct; 610s # const gchar *signal_name; 610s # } _ExtendedGDBusSignalInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusPropertyInfo parent_struct; 610s # const gchar *hyphen_name; 610s # guint use_gvariant : 1; 610s # guint emits_changed_signal : 1; 610s # } _ExtendedGDBusPropertyInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusInterfaceInfo parent_struct; 610s # const gchar *hyphen_name; 610s # } _ExtendedGDBusInterfaceInfo; 610s # 610s # typedef struct 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # guint prop_id; 610s # GValue orig_value; /* the value before the change */ 610s # } ChangedProperty; 610s # 610s # static void 610s # _changed_property_free (ChangedProperty *data) 610s # { 610s # g_value_unset (&data->orig_value); 610s # g_free (data); 610s # } 610s # 610s # static gboolean 610s # _g_strv_equal0 (gchar **a, gchar **b) 610s # { 610s # gboolean ret = FALSE; 610s # guint n; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # if (g_strv_length (a) != g_strv_length (b)) 610s # goto out; 610s # for (n = 0; a[n] != NULL; n++) 610s # if (g_strcmp0 (a[n], b[n]) != 0) 610s # goto out; 610s # ret = TRUE; 610s # out: 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _g_variant_equal0 (GVariant *a, GVariant *b) 610s # { 610s # gboolean ret = FALSE; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # ret = g_variant_equal (a, b); 610s # out: 610s # return ret; 610s # } 610s # 610s # G_GNUC_UNUSED static gboolean 610s # _g_value_equal (const GValue *a, const GValue *b) 610s # { 610s # gboolean ret = FALSE; 610s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 610s # switch (G_VALUE_TYPE (a)) 610s # { 610s # case G_TYPE_BOOLEAN: 610s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 610s # break; 610s # case G_TYPE_UCHAR: 610s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 610s # break; 610s # case G_TYPE_INT: 610s # ret = (g_value_get_int (a) == g_value_get_int (b)); 610s # break; 610s # case G_TYPE_UINT: 610s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 610s # break; 610s # case G_TYPE_INT64: 610s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 610s # break; 610s # case G_TYPE_UINT64: 610s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 610s # break; 610s # case G_TYPE_DOUBLE: 610s # { 610s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 610s # gdouble da = g_value_get_double (a); 610s # gdouble db = g_value_get_double (b); 610s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 610s # } 610s # break; 610s # case G_TYPE_STRING: 610s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 610s # break; 610s # case G_TYPE_VARIANT: 610s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 610s # break; 610s # default: 610s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 610s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 610s # else 610s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 610s # break; 610s # } 610s # return ret; 610s # } 610s # Error: 610s ok 4 __main__.TestCodegen.test_empty_interface_header 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpgu6akanb 610s # /tmp/tmpgu6akanb/tmpj3dnlzke.xml: 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgu6akanb/tmpj3dnlzke.xml', '--output', '-', '--header'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifndef __STDOUT__ 610s # #define __STDOUT__ 610s # 610s # #include 610s # 610s # G_BEGIN_DECLS 610s # 610s # 610s # G_END_DECLS 610s # 610s # #endif /* __STDOUT__ */ 610s # Error: 610s ok 5 __main__.TestCodegen.test_empty_interface_info_body 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpeaqv6hm9 610s # /tmp/tmpeaqv6hm9/tmp7net38w9.xml: 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeaqv6hm9/tmp7net38w9.xml', '--output', '-', '--interface-info-body'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifdef HAVE_CONFIG_H 610s # # include "config.h" 610s # #endif 610s # 610s # #include 610s # Error: 610s ok 6 __main__.TestCodegen.test_empty_interface_info_header 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpns3zzz_y 610s # /tmp/tmpns3zzz_y/tmp_9mlesfe.xml: 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns3zzz_y/tmp_9mlesfe.xml', '--output', '-', '--interface-info-header'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifndef __STDOUT__ 610s # #define __STDOUT__ 610s # 610s # #include 610s # 610s # G_BEGIN_DECLS 610s # 610s # 610s # G_END_DECLS 610s # 610s # #endif /* __STDOUT__ */ 610s # Error: 610s ok 7 __main__.TestCodegen.test_generate_docbook 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpjo02ymrf 610s # /tmp/tmpjo02ymrf/tmpqrvyeggb.xml: 610s # 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjo02ymrf/tmpqrvyeggb.xml', '--generate-docbook', 'test'] 610s # Return code: 0 610s # Output: 610s # 610s # Error: 610s ok 8 __main__.TestCodegen.test_generate_md 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpwkywxfz_ 610s # /tmp/tmpwkywxfz_/tmp7b85bdd7.xml: 610s # 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwkywxfz_/tmp7b85bdd7.xml', '--generate-md', 'test'] 610s # Return code: 0 610s # Output: 610s # 610s # Error: 610s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 610s # gdbus-codegen: /usr/bin/gdbus-codegen 610s # tmpdir: /tmp/tmpgsdhxqt4 610s # /tmp/tmpgsdhxqt4/tmpnthb7q5u.xml: 610s # 610s # 610s # 610s # 610s # 610s # 610s # 610s # 610s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgsdhxqt4/tmpnthb7q5u.xml', '--output', '-', '--body'] 610s # Return code: 0 610s # Output: 610s # /* 610s # * This file is generated by gdbus-codegen, do not modify it. 610s # * 610s # * The license of this code is the same as for the D-Bus interface description 610s # * it was derived from. Note that it links to GLib, so must comply with the 610s # * LGPL linking clauses. 610s # */ 610s # 610s # #ifdef HAVE_CONFIG_H 610s # # include "config.h" 610s # #endif 610s # 610s # #include 610s # #ifdef G_OS_UNIX 610s # # include 610s # #endif 610s # 610s # #ifdef G_ENABLE_DEBUG 610s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 610s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 610s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 610s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 610s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 610s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 610s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 610s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 610s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 610s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 610s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 610s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 610s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 610s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 610s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 610s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 610s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 610s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 610s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 610s # #else /* !G_ENABLE_DEBUG */ 610s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 610s # * Do not access GValues directly in your code. Instead, use the 610s # * g_value_get_*() functions 610s # */ 610s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 610s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 610s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 610s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 610s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 610s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 610s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 610s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 610s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 610s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 610s # #endif /* !G_ENABLE_DEBUG */ 610s # 610s # typedef struct 610s # { 610s # GDBusArgInfo parent_struct; 610s # gboolean use_gvariant; 610s # } _ExtendedGDBusArgInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusMethodInfo parent_struct; 610s # const gchar *signal_name; 610s # gboolean pass_fdlist; 610s # } _ExtendedGDBusMethodInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusSignalInfo parent_struct; 610s # const gchar *signal_name; 610s # } _ExtendedGDBusSignalInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusPropertyInfo parent_struct; 610s # const gchar *hyphen_name; 610s # guint use_gvariant : 1; 610s # guint emits_changed_signal : 1; 610s # } _ExtendedGDBusPropertyInfo; 610s # 610s # typedef struct 610s # { 610s # GDBusInterfaceInfo parent_struct; 610s # const gchar *hyphen_name; 610s # } _ExtendedGDBusInterfaceInfo; 610s # 610s # typedef struct 610s # { 610s # const _ExtendedGDBusPropertyInfo *info; 610s # guint prop_id; 610s # GValue orig_value; /* the value before the change */ 610s # } ChangedProperty; 610s # 610s # static void 610s # _changed_property_free (ChangedProperty *data) 610s # { 610s # g_value_unset (&data->orig_value); 610s # g_free (data); 610s # } 610s # 610s # static gboolean 610s # _g_strv_equal0 (gchar **a, gchar **b) 610s # { 610s # gboolean ret = FALSE; 610s # guint n; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # if (g_strv_length (a) != g_strv_length (b)) 610s # goto out; 610s # for (n = 0; a[n] != NULL; n++) 610s # if (g_strcmp0 (a[n], b[n]) != 0) 610s # goto out; 610s # ret = TRUE; 610s # out: 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _g_variant_equal0 (GVariant *a, GVariant *b) 610s # { 610s # gboolean ret = FALSE; 610s # if (a == NULL && b == NULL) 610s # { 610s # ret = TRUE; 610s # goto out; 610s # } 610s # if (a == NULL || b == NULL) 610s # goto out; 610s # ret = g_variant_equal (a, b); 610s # out: 610s # return ret; 610s # } 610s # 610s # G_GNUC_UNUSED static gboolean 610s # _g_value_equal (const GValue *a, const GValue *b) 610s # { 610s # gboolean ret = FALSE; 610s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 610s # switch (G_VALUE_TYPE (a)) 610s # { 610s # case G_TYPE_BOOLEAN: 610s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 610s # break; 610s # case G_TYPE_UCHAR: 610s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 610s # break; 610s # case G_TYPE_INT: 610s # ret = (g_value_get_int (a) == g_value_get_int (b)); 610s # break; 610s # case G_TYPE_UINT: 610s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 610s # break; 610s # case G_TYPE_INT64: 610s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 610s # break; 610s # case G_TYPE_UINT64: 610s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 610s # break; 610s # case G_TYPE_DOUBLE: 610s # { 610s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 610s # gdouble da = g_value_get_double (a); 610s # gdouble db = g_value_get_double (b); 610s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 610s # } 610s # break; 610s # case G_TYPE_STRING: 610s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 610s # break; 610s # case G_TYPE_VARIANT: 610s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 610s # break; 610s # default: 610s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 610s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 610s # else 610s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 610s # break; 610s # } 610s # return ret; 610s # } 610s # 610s # static void 610s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 610s # GClosure *closure, 610s # GValue *return_value, 610s # unsigned int n_param_values, 610s # const GValue *param_values, 610s # void *invocation_hint G_GNUC_UNUSED, 610s # void *marshal_data) 610s # { 610s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 610s # (void *data1, 610s # GDBusMethodInvocation *arg_method_invocation, 610s # void *data2); 610s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 610s # GCClosure *cc = (GCClosure*) closure; 610s # void *data1, *data2; 610s # gboolean v_return; 610s # 610s # g_return_if_fail (return_value != NULL); 610s # g_return_if_fail (n_param_values == 2); 610s # 610s # if (G_CCLOSURE_SWAP_DATA (closure)) 610s # { 610s # data1 = closure->data; 610s # data2 = g_value_peek_pointer (param_values + 0); 610s # } 610s # else 610s # { 610s # data1 = g_value_peek_pointer (param_values + 0); 610s # data2 = closure->data; 610s # } 610s # 610s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 610s # (marshal_data ? marshal_data : cc->callback); 610s # 610s # v_return = 610s # callback (data1, 610s # g_marshal_value_peek_object (param_values + 1), 610s # data2); 610s # 610s # g_value_set_boolean (return_value, v_return); 610s # } 610s # 610s # /* ------------------------------------------------------------------------ 610s # * Code for interface org.project.CallableIface 610s # * ------------------------------------------------------------------------ 610s # */ 610s # 610s # /** 610s # * SECTION:OrgProjectCallableIface 610s # * @title: OrgProjectCallableIface 610s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 610s # * 610s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 610s # */ 610s # 610s # /* ---- Introspection data for org.project.CallableIface ---- */ 610s # 610s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 610s # { 610s # { 610s # -1, 610s # (gchar *) "SimpleMethod", 610s # NULL, 610s # NULL, 610s # NULL 610s # }, 610s # "handle-simple-method", 610s # FALSE 610s # }; 610s # 610s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 610s # { 610s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 610s # NULL 610s # }; 610s # 610s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 610s # { 610s # { 610s # -1, 610s # (gchar *) "org.project.CallableIface", 610s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 610s # NULL, 610s # NULL, 610s # NULL 610s # }, 610s # "org-project-callable-iface", 610s # }; 610s # 610s # 610s # /** 610s # * org_project_callable_iface_interface_info: 610s # * 610s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 610s # * 610s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 610s # */ 610s # GDBusInterfaceInfo * 610s # org_project_callable_iface_interface_info (void) 610s # { 610s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_override_properties: 610s # * @klass: The class structure for a #GObject derived class. 610s # * @property_id_begin: The property id to assign to the first overridden property. 610s # * 610s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 610s # * The properties are overridden in the order they are defined. 610s # * 610s # * Returns: The last property id. 610s # */ 610s # guint 610s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 610s # { 610s # return property_id_begin - 1; 610s # } 610s # 610s # 610s # inline static void 610s # org_project_callable_iface_method_marshal_simple_method ( 610s # GClosure *closure, 610s # GValue *return_value, 610s # unsigned int n_param_values, 610s # const GValue *param_values, 610s # void *invocation_hint, 610s # void *marshal_data) 610s # { 610s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 610s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 610s # } 610s # 610s # 610s # /** 610s # * OrgProjectCallableIface: 610s # * 610s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 610s # */ 610s # 610s # /** 610s # * OrgProjectCallableIfaceIface: 610s # * @parent_iface: The parent interface. 610s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 610s # * 610s # * Virtual table for the D-Bus interface org.project.CallableIface. 610s # */ 610s # 610s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 610s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 610s # 610s # static void 610s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 610s # { 610s # /* GObject signals for incoming D-Bus method calls: */ 610s # /** 610s # * OrgProjectCallableIface::handle-simple-method: 610s # * @object: A #OrgProjectCallableIface. 610s # * @invocation: A #GDBusMethodInvocation. 610s # * 610s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 610s # * 610s # * 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. 610s # * 610s # * 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. 610s # */ 610s # g_signal_new ("handle-simple-method", 610s # G_TYPE_FROM_INTERFACE (iface), 610s # G_SIGNAL_RUN_LAST, 610s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 610s # g_signal_accumulator_true_handled, 610s # NULL, 610s # org_project_callable_iface_method_marshal_simple_method, 610s # G_TYPE_BOOLEAN, 610s # 1, 610s # G_TYPE_DBUS_METHOD_INVOCATION); 610s # 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_call_simple_method: 610s # * @proxy: A #OrgProjectCallableIfaceProxy. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 610s # * 610s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 610s # */ 610s # void 610s # org_project_callable_iface_call_simple_method ( 610s # OrgProjectCallableIface *proxy, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 610s # "SimpleMethod", 610s # g_variant_new ("()"), 610s # G_DBUS_CALL_FLAGS_NONE, 610s # -1, 610s # cancellable, 610s # callback, 610s # user_data); 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_call_simple_method_finish: 610s # * @proxy: A #OrgProjectCallableIfaceProxy. 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 610s # * @error: Return location for error or %NULL. 610s # * 610s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 610s # * 610s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 610s # */ 610s # gboolean 610s # org_project_callable_iface_call_simple_method_finish ( 610s # OrgProjectCallableIface *proxy, 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GVariant *_ret; 610s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 610s # if (_ret == NULL) 610s # goto _out; 610s # g_variant_get (_ret, 610s # "()"); 610s # g_variant_unref (_ret); 610s # _out: 610s # return _ret != NULL; 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_call_simple_method_sync: 610s # * @proxy: A #OrgProjectCallableIfaceProxy. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL. 610s # * 610s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 610s # * 610s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 610s # * 610s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 610s # */ 610s # gboolean 610s # org_project_callable_iface_call_simple_method_sync ( 610s # OrgProjectCallableIface *proxy, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GVariant *_ret; 610s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 610s # "SimpleMethod", 610s # g_variant_new ("()"), 610s # G_DBUS_CALL_FLAGS_NONE, 610s # -1, 610s # cancellable, 610s # error); 610s # if (_ret == NULL) 610s # goto _out; 610s # g_variant_get (_ret, 610s # "()"); 610s # g_variant_unref (_ret); 610s # _out: 610s # return _ret != NULL; 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_complete_simple_method: 610s # * @object: A #OrgProjectCallableIface. 610s # * @invocation: (transfer full): A #GDBusMethodInvocation. 610s # * 610s # * 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. 610s # * 610s # * This method will free @invocation, you cannot use it afterwards. 610s # */ 610s # void 610s # org_project_callable_iface_complete_simple_method ( 610s # OrgProjectCallableIface *object G_GNUC_UNUSED, 610s # GDBusMethodInvocation *invocation) 610s # { 610s # g_dbus_method_invocation_return_value (invocation, 610s # g_variant_new ("()")); 610s # } 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * OrgProjectCallableIfaceProxy: 610s # * 610s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * OrgProjectCallableIfaceProxyClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for #OrgProjectCallableIfaceProxy. 610s # */ 610s # 610s # struct _OrgProjectCallableIfaceProxyPrivate 610s # { 610s # GData *qdata; 610s # }; 610s # 610s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 610s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 610s # 610s # #endif 610s # static void 610s # org_project_callable_iface_proxy_finalize (GObject *object) 610s # { 610s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 610s # g_datalist_clear (&proxy->priv->qdata); 610s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 610s # guint prop_id G_GNUC_UNUSED, 610s # GValue *value G_GNUC_UNUSED, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # static void 610s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 610s # guint prop_id G_GNUC_UNUSED, 610s # const GValue *value G_GNUC_UNUSED, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # static void 610s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 610s # const gchar *sender_name G_GNUC_UNUSED, 610s # const gchar *signal_name, 610s # GVariant *parameters) 610s # { 610s # _ExtendedGDBusSignalInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # gsize n; 610s # guint signal_id; 610s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 610s # if (info == NULL) 610s # return; 610s # num_params = g_variant_n_children (parameters); 610s # paramv = g_new0 (GValue, num_params + 1); 610s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 610s # g_value_set_object (¶mv[0], proxy); 610s # g_variant_iter_init (&iter, parameters); 610s # n = 1; 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 610s # g_signal_emitv (paramv, signal_id, 0, NULL); 610s # for (n = 0; n < num_params + 1; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static void 610s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 610s # GVariant *changed_properties, 610s # const gchar *const *invalidated_properties) 610s # { 610s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 610s # guint n; 610s # const gchar *key; 610s # GVariantIter *iter; 610s # _ExtendedGDBusPropertyInfo *info; 610s # g_variant_get (changed_properties, "a{sv}", &iter); 610s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 610s # g_datalist_remove_data (&proxy->priv->qdata, key); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # g_variant_iter_free (iter); 610s # for (n = 0; invalidated_properties[n] != NULL; n++) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 610s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # } 610s # 610s # static void 610s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 610s # #else 610s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 610s # #endif 610s # 610s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 610s # } 610s # 610s # static void 610s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusProxyClass *proxy_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 610s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 610s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 610s # 610s # proxy_class = G_DBUS_PROXY_CLASS (klass); 610s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 610s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_proxy_new: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 610s # * 610s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # org_project_callable_iface_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_proxy_new_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 610s # * 610s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectCallableIface * 610s # org_project_callable_iface_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return ORG_PROJECT_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_proxy_new_sync: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectCallableIface * 610s # org_project_callable_iface_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return ORG_PROJECT_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /** 610s # * org_project_callable_iface_proxy_new_for_bus: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 610s # * 610s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # org_project_callable_iface_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_proxy_new_for_bus_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 610s # * 610s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectCallableIface * 610s # org_project_callable_iface_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return ORG_PROJECT_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_proxy_new_for_bus_sync: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectCallableIface * 610s # org_project_callable_iface_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return ORG_PROJECT_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * OrgProjectCallableIfaceSkeleton: 610s # * 610s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * OrgProjectCallableIfaceSkeletonClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for #OrgProjectCallableIfaceSkeleton. 610s # */ 610s # 610s # struct _OrgProjectCallableIfaceSkeletonPrivate 610s # { 610s # GValue *properties; 610s # GList *changed_properties; 610s # GSource *changed_properties_idle_source; 610s # GMainContext *context; 610s # GMutex lock; 610s # }; 610s # 610s # static void 610s # _org_project_callable_iface_skeleton_handle_method_call ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name, 610s # const gchar *method_name, 610s # GVariant *parameters, 610s # GDBusMethodInvocation *invocation, 610s # gpointer user_data) 610s # { 610s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 610s # _ExtendedGDBusMethodInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # guint num_extra; 610s # gsize n; 610s # guint signal_id; 610s # GValue return_value = G_VALUE_INIT; 610s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 610s # g_assert (info != NULL); 610s # num_params = g_variant_n_children (parameters); 610s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 610s # n = 0; 610s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 610s # g_value_set_object (¶mv[n++], skeleton); 610s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 610s # g_value_set_object (¶mv[n++], invocation); 610s # if (info->pass_fdlist) 610s # { 610s # #ifdef G_OS_UNIX 610s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 610s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 610s # #else 610s # g_assert_not_reached (); 610s # #endif 610s # } 610s # g_variant_iter_init (&iter, parameters); 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 610s # g_value_init (&return_value, G_TYPE_BOOLEAN); 610s # g_signal_emitv (paramv, signal_id, 0, &return_value); 610s # if (!g_value_get_boolean (&return_value)) 610s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 610s # g_value_unset (&return_value); 610s # for (n = 0; n < num_params + num_extra; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static GVariant * 610s # _org_project_callable_iface_skeleton_handle_get_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # GVariant *ret; 610s # ret = NULL; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # g_value_init (&value, pspec->value_type); 610s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_value_unset (&value); 610s # } 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _org_project_callable_iface_skeleton_handle_set_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GVariant *variant, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # gboolean ret; 610s # ret = FALSE; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # if (info->use_gvariant) 610s # g_value_set_variant (&value, variant); 610s # else 610s # g_dbus_gvariant_to_gvalue (variant, &value); 610s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # g_value_unset (&value); 610s # ret = TRUE; 610s # } 610s # return ret; 610s # } 610s # 610s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 610s # { 610s # _org_project_callable_iface_skeleton_handle_method_call, 610s # _org_project_callable_iface_skeleton_handle_get_property, 610s # _org_project_callable_iface_skeleton_handle_set_property, 610s # {NULL} 610s # }; 610s # 610s # static GDBusInterfaceInfo * 610s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return org_project_callable_iface_interface_info (); 610s # } 610s # 610s # static GDBusInterfaceVTable * 610s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 610s # } 610s # 610s # static GVariant * 610s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 610s # 610s # GVariantBuilder builder; 610s # guint n; 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #else 610s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #endif 610s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 610s # goto out; 610s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 610s # { 610s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 610s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 610s # { 610s # GVariant *value; 610s # 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); 610s # if (value != NULL) 610s # { 610s # g_variant_take_ref (value); 610s # g_variant_builder_add (&builder, "{sv}", info->name, value); 610s # g_variant_unref (value); 610s # } 610s # } 610s # } 610s # out: 610s # return g_variant_builder_end (&builder); 610s # } 610s # 610s # static void 610s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 610s # 610s # #endif 610s # static void 610s # org_project_callable_iface_skeleton_finalize (GObject *object) 610s # { 610s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # g_main_context_unref (skeleton->priv->context); 610s # g_mutex_clear (&skeleton->priv->lock); 610s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 610s # #else 610s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 610s # #endif 610s # 610s # g_mutex_init (&skeleton->priv->lock); 610s # skeleton->priv->context = g_main_context_ref_thread_default (); 610s # } 610s # 610s # static void 610s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusInterfaceSkeletonClass *skeleton_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 610s # 610s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 610s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 610s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 610s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 610s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # /** 610s # * org_project_callable_iface_skeleton_new: 610s # * 610s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 610s # * 610s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 610s # */ 610s # OrgProjectCallableIface * 610s # org_project_callable_iface_skeleton_new (void) 610s # { 610s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 610s # } 610s # 610s # /* ------------------------------------------------------------------------ 610s # * Code for interface org.project.OtherCallableIface 610s # * ------------------------------------------------------------------------ 610s # */ 610s # 610s # /** 610s # * SECTION:OrgProjectOtherCallableIface 610s # * @title: OrgProjectOtherCallableIface 610s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 610s # * 610s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 610s # */ 610s # 610s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 610s # 610s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 610s # { 610s # { 610s # -1, 610s # (gchar *) "SimpleMethod", 610s # NULL, 610s # NULL, 610s # NULL 610s # }, 610s # "handle-simple-method", 610s # FALSE 610s # }; 610s # 610s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 610s # { 610s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 610s # NULL 610s # }; 610s # 610s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 610s # { 610s # { 610s # -1, 610s # (gchar *) "org.project.OtherCallableIface", 610s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 610s # NULL, 610s # NULL, 610s # NULL 610s # }, 610s # "org-project-other-callable-iface", 610s # }; 610s # 610s # 610s # /** 610s # * org_project_other_callable_iface_interface_info: 610s # * 610s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 610s # * 610s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 610s # */ 610s # GDBusInterfaceInfo * 610s # org_project_other_callable_iface_interface_info (void) 610s # { 610s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_override_properties: 610s # * @klass: The class structure for a #GObject derived class. 610s # * @property_id_begin: The property id to assign to the first overridden property. 610s # * 610s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 610s # * The properties are overridden in the order they are defined. 610s # * 610s # * Returns: The last property id. 610s # */ 610s # guint 610s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 610s # { 610s # return property_id_begin - 1; 610s # } 610s # 610s # 610s # inline static void 610s # org_project_other_callable_iface_method_marshal_simple_method ( 610s # GClosure *closure, 610s # GValue *return_value, 610s # unsigned int n_param_values, 610s # const GValue *param_values, 610s # void *invocation_hint, 610s # void *marshal_data) 610s # { 610s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 610s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 610s # } 610s # 610s # 610s # /** 610s # * OrgProjectOtherCallableIface: 610s # * 610s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 610s # */ 610s # 610s # /** 610s # * OrgProjectOtherCallableIfaceIface: 610s # * @parent_iface: The parent interface. 610s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 610s # * 610s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 610s # */ 610s # 610s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 610s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 610s # 610s # static void 610s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 610s # { 610s # /* GObject signals for incoming D-Bus method calls: */ 610s # /** 610s # * OrgProjectOtherCallableIface::handle-simple-method: 610s # * @object: A #OrgProjectOtherCallableIface. 610s # * @invocation: A #GDBusMethodInvocation. 610s # * 610s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 610s # * 610s # * 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. 610s # * 610s # * 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. 610s # */ 610s # g_signal_new ("handle-simple-method", 610s # G_TYPE_FROM_INTERFACE (iface), 610s # G_SIGNAL_RUN_LAST, 610s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 610s # g_signal_accumulator_true_handled, 610s # NULL, 610s # org_project_other_callable_iface_method_marshal_simple_method, 610s # G_TYPE_BOOLEAN, 610s # 1, 610s # G_TYPE_DBUS_METHOD_INVOCATION); 610s # 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_call_simple_method: 610s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 610s # * 610s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 610s # */ 610s # void 610s # org_project_other_callable_iface_call_simple_method ( 610s # OrgProjectOtherCallableIface *proxy, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 610s # "SimpleMethod", 610s # g_variant_new ("()"), 610s # G_DBUS_CALL_FLAGS_NONE, 610s # -1, 610s # cancellable, 610s # callback, 610s # user_data); 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_call_simple_method_finish: 610s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 610s # * @error: Return location for error or %NULL. 610s # * 610s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 610s # * 610s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 610s # */ 610s # gboolean 610s # org_project_other_callable_iface_call_simple_method_finish ( 610s # OrgProjectOtherCallableIface *proxy, 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GVariant *_ret; 610s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 610s # if (_ret == NULL) 610s # goto _out; 610s # g_variant_get (_ret, 610s # "()"); 610s # g_variant_unref (_ret); 610s # _out: 610s # return _ret != NULL; 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_call_simple_method_sync: 610s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL. 610s # * 610s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 610s # * 610s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 610s # * 610s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 610s # */ 610s # gboolean 610s # org_project_other_callable_iface_call_simple_method_sync ( 610s # OrgProjectOtherCallableIface *proxy, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GVariant *_ret; 610s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 610s # "SimpleMethod", 610s # g_variant_new ("()"), 610s # G_DBUS_CALL_FLAGS_NONE, 610s # -1, 610s # cancellable, 610s # error); 610s # if (_ret == NULL) 610s # goto _out; 610s # g_variant_get (_ret, 610s # "()"); 610s # g_variant_unref (_ret); 610s # _out: 610s # return _ret != NULL; 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_complete_simple_method: 610s # * @object: A #OrgProjectOtherCallableIface. 610s # * @invocation: (transfer full): A #GDBusMethodInvocation. 610s # * 610s # * 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. 610s # * 610s # * This method will free @invocation, you cannot use it afterwards. 610s # */ 610s # void 610s # org_project_other_callable_iface_complete_simple_method ( 610s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 610s # GDBusMethodInvocation *invocation) 610s # { 610s # g_dbus_method_invocation_return_value (invocation, 610s # g_variant_new ("()")); 610s # } 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * OrgProjectOtherCallableIfaceProxy: 610s # * 610s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * OrgProjectOtherCallableIfaceProxyClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 610s # */ 610s # 610s # struct _OrgProjectOtherCallableIfaceProxyPrivate 610s # { 610s # GData *qdata; 610s # }; 610s # 610s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 610s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 610s # 610s # #endif 610s # static void 610s # org_project_other_callable_iface_proxy_finalize (GObject *object) 610s # { 610s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 610s # g_datalist_clear (&proxy->priv->qdata); 610s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 610s # guint prop_id G_GNUC_UNUSED, 610s # GValue *value G_GNUC_UNUSED, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 610s # guint prop_id G_GNUC_UNUSED, 610s # const GValue *value G_GNUC_UNUSED, 610s # GParamSpec *pspec G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 610s # const gchar *sender_name G_GNUC_UNUSED, 610s # const gchar *signal_name, 610s # GVariant *parameters) 610s # { 610s # _ExtendedGDBusSignalInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # gsize n; 610s # guint signal_id; 610s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 610s # if (info == NULL) 610s # return; 610s # num_params = g_variant_n_children (parameters); 610s # paramv = g_new0 (GValue, num_params + 1); 610s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 610s # g_value_set_object (¶mv[0], proxy); 610s # g_variant_iter_init (&iter, parameters); 610s # n = 1; 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 610s # g_signal_emitv (paramv, signal_id, 0, NULL); 610s # for (n = 0; n < num_params + 1; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 610s # GVariant *changed_properties, 610s # const gchar *const *invalidated_properties) 610s # { 610s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 610s # guint n; 610s # const gchar *key; 610s # GVariantIter *iter; 610s # _ExtendedGDBusPropertyInfo *info; 610s # g_variant_get (changed_properties, "a{sv}", &iter); 610s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 610s # g_datalist_remove_data (&proxy->priv->qdata, key); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # g_variant_iter_free (iter); 610s # for (n = 0; invalidated_properties[n] != NULL; n++) 610s # { 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 610s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 610s # if (info != NULL) 610s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 610s # } 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 610s # #else 610s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 610s # #endif 610s # 610s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusProxyClass *proxy_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 610s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 610s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 610s # 610s # proxy_class = G_DBUS_PROXY_CLASS (klass); 610s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 610s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_proxy_new: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 610s # * 610s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # org_project_other_callable_iface_proxy_new ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_proxy_new_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 610s # * 610s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectOtherCallableIface * 610s # org_project_other_callable_iface_proxy_new_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_proxy_new_sync: 610s # * @connection: A #GDBusConnection. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectOtherCallableIface * 610s # org_project_other_callable_iface_proxy_new_sync ( 610s # GDBusConnection *connection, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /** 610s # * org_project_other_callable_iface_proxy_new_for_bus: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 610s # * @user_data: User data to pass to @callback. 610s # * 610s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 610s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 610s # * 610s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 610s # */ 610s # void 610s # org_project_other_callable_iface_proxy_new_for_bus ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GAsyncReadyCallback callback, 610s # gpointer user_data) 610s # { 610s # 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); 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 610s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 610s # * @error: Return location for error or %NULL 610s # * 610s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 610s # * 610s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectOtherCallableIface * 610s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 610s # GAsyncResult *res, 610s # GError **error) 610s # { 610s # GObject *ret; 610s # GObject *source_object; 610s # source_object = g_async_result_get_source_object (res); 610s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 610s # g_object_unref (source_object); 610s # if (ret != NULL) 610s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 610s # * @bus_type: A #GBusType. 610s # * @flags: Flags from the #GDBusProxyFlags enumeration. 610s # * @name: A bus name (well-known or unique). 610s # * @object_path: An object path. 610s # * @cancellable: (nullable): A #GCancellable or %NULL. 610s # * @error: Return location for error or %NULL 610s # * 610s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 610s # * 610s # * The calling thread is blocked until a reply is received. 610s # * 610s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 610s # * 610s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 610s # */ 610s # OrgProjectOtherCallableIface * 610s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 610s # GBusType bus_type, 610s # GDBusProxyFlags flags, 610s # const gchar *name, 610s # const gchar *object_path, 610s # GCancellable *cancellable, 610s # GError **error) 610s # { 610s # GInitable *ret; 610s # 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); 610s # if (ret != NULL) 610s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 610s # else 610s # return NULL; 610s # } 610s # 610s # 610s # /* ------------------------------------------------------------------------ */ 610s # 610s # /** 610s # * OrgProjectOtherCallableIfaceSkeleton: 610s # * 610s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 610s # */ 610s # 610s # /** 610s # * OrgProjectOtherCallableIfaceSkeletonClass: 610s # * @parent_class: The parent class. 610s # * 610s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 610s # */ 610s # 610s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 610s # { 610s # GValue *properties; 610s # GList *changed_properties; 610s # GSource *changed_properties_idle_source; 610s # GMainContext *context; 610s # GMutex lock; 610s # }; 610s # 610s # static void 610s # _org_project_other_callable_iface_skeleton_handle_method_call ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name, 610s # const gchar *method_name, 610s # GVariant *parameters, 610s # GDBusMethodInvocation *invocation, 610s # gpointer user_data) 610s # { 610s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 610s # _ExtendedGDBusMethodInfo *info; 610s # GVariantIter iter; 610s # GVariant *child; 610s # GValue *paramv; 610s # gsize num_params; 610s # guint num_extra; 610s # gsize n; 610s # guint signal_id; 610s # GValue return_value = G_VALUE_INIT; 610s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 610s # g_assert (info != NULL); 610s # num_params = g_variant_n_children (parameters); 610s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 610s # n = 0; 610s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 610s # g_value_set_object (¶mv[n++], skeleton); 610s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 610s # g_value_set_object (¶mv[n++], invocation); 610s # if (info->pass_fdlist) 610s # { 610s # #ifdef G_OS_UNIX 610s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 610s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 610s # #else 610s # g_assert_not_reached (); 610s # #endif 610s # } 610s # g_variant_iter_init (&iter, parameters); 610s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 610s # { 610s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 610s # if (arg_info->use_gvariant) 610s # { 610s # g_value_init (¶mv[n], G_TYPE_VARIANT); 610s # g_value_set_variant (¶mv[n], child); 610s # n++; 610s # } 610s # else 610s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 610s # g_variant_unref (child); 610s # } 610s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 610s # g_value_init (&return_value, G_TYPE_BOOLEAN); 610s # g_signal_emitv (paramv, signal_id, 0, &return_value); 610s # if (!g_value_get_boolean (&return_value)) 610s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 610s # g_value_unset (&return_value); 610s # for (n = 0; n < num_params + num_extra; n++) 610s # g_value_unset (¶mv[n]); 610s # g_free (paramv); 610s # } 610s # 610s # static GVariant * 610s # _org_project_other_callable_iface_skeleton_handle_get_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # GVariant *ret; 610s # ret = NULL; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # g_value_init (&value, pspec->value_type); 610s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 610s # g_value_unset (&value); 610s # } 610s # return ret; 610s # } 610s # 610s # static gboolean 610s # _org_project_other_callable_iface_skeleton_handle_set_property ( 610s # GDBusConnection *connection G_GNUC_UNUSED, 610s # const gchar *sender G_GNUC_UNUSED, 610s # const gchar *object_path G_GNUC_UNUSED, 610s # const gchar *interface_name G_GNUC_UNUSED, 610s # const gchar *property_name, 610s # GVariant *variant, 610s # GError **error, 610s # gpointer user_data) 610s # { 610s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 610s # GValue value = G_VALUE_INIT; 610s # GParamSpec *pspec; 610s # _ExtendedGDBusPropertyInfo *info; 610s # gboolean ret; 610s # ret = FALSE; 610s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 610s # g_assert (info != NULL); 610s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 610s # if (pspec == NULL) 610s # { 610s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 610s # } 610s # else 610s # { 610s # if (info->use_gvariant) 610s # g_value_set_variant (&value, variant); 610s # else 610s # g_dbus_gvariant_to_gvalue (variant, &value); 610s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 610s # g_value_unset (&value); 610s # ret = TRUE; 610s # } 610s # return ret; 610s # } 610s # 610s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 610s # { 610s # _org_project_other_callable_iface_skeleton_handle_method_call, 610s # _org_project_other_callable_iface_skeleton_handle_get_property, 610s # _org_project_other_callable_iface_skeleton_handle_set_property, 610s # {NULL} 610s # }; 610s # 610s # static GDBusInterfaceInfo * 610s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return org_project_other_callable_iface_interface_info (); 610s # } 610s # 610s # static GDBusInterfaceVTable * 610s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 610s # { 610s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 610s # } 610s # 610s # static GVariant * 610s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 610s # { 610s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 610s # 610s # GVariantBuilder builder; 610s # guint n; 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 610s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #else 610s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 610s # #endif 610s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 610s # goto out; 610s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 610s # { 610s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 610s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 610s # { 610s # GVariant *value; 610s # 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); 610s # if (value != NULL) 610s # { 610s # g_variant_take_ref (value); 610s # g_variant_builder_add (&builder, "{sv}", info->name, value); 610s # g_variant_unref (value); 610s # } 610s # } 610s # } 610s # out: 610s # return g_variant_builder_end (&builder); 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 610s # 610s # #else 610s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 610s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 610s # 610s # #endif 610s # static void 610s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 610s # { 610s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 610s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 610s # if (skeleton->priv->changed_properties_idle_source != NULL) 610s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 610s # g_main_context_unref (skeleton->priv->context); 610s # g_mutex_clear (&skeleton->priv->lock); 610s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 610s # { 610s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 610s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 610s # #else 610s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 610s # #endif 610s # 610s # g_mutex_init (&skeleton->priv->lock); 610s # skeleton->priv->context = g_main_context_ref_thread_default (); 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 610s # { 610s # GObjectClass *gobject_class; 610s # GDBusInterfaceSkeletonClass *skeleton_class; 610s # 610s # gobject_class = G_OBJECT_CLASS (klass); 610s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 610s # 610s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 610s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 610s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 610s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 610s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 610s # 610s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 610s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 610s # #endif 610s # } 610s # 610s # static void 610s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 610s # { 610s # } 610s # 610s # /** 610s # * org_project_other_callable_iface_skeleton_new: 610s # * 610s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 610s # * 610s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 610s # */ 610s # OrgProjectOtherCallableIface * 610s # org_project_other_callable_iface_skeleton_new (void) 610s # { 610s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 610s # } 610s # Error: 611s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 611s # gdbus-codegen: /usr/bin/gdbus-codegen 611s # tmpdir: /tmp/tmpjlk4kotd 611s # /tmp/tmpjlk4kotd/tmpojevhkpf.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpojevhkpf.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # gboolean arg_arg_b, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_boolean (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_b", 611s # (gchar *) "b", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodB", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-b", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_b ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_b: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-b", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_b, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_b: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_b: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_b ( 611s # OrgProjectUsefulInterface *proxy, 611s # gboolean arg_arg_b, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodB", 611s # g_variant_new ("(b)", 611s # arg_arg_b), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_b_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_b_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_b_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_b: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_b_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # gboolean arg_arg_b, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodB", 611s # g_variant_new ("(b)", 611s # arg_arg_b), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_b: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_b ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmp5blvhsv9.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmp5blvhsv9.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # guchar arg_arg_y, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_uchar (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_y", 611s # (gchar *) "y", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodY", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-y", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_y ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_y: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-y", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_y, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_y: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_y: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_y ( 611s # OrgProjectUsefulInterface *proxy, 611s # guchar arg_arg_y, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodY", 611s # g_variant_new ("(y)", 611s # arg_arg_y), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_y_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_y_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_y_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_y: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_y_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # guchar arg_arg_y, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodY", 611s # g_variant_new ("(y)", 611s # arg_arg_y), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_y: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_y ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpdh70ypp2.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpdh70ypp2.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # gint16 arg_arg_n, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_int (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_n", 611s # (gchar *) "n", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodN", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-n", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_n ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_n: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-n", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_n, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_n: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_n: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_n ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint16 arg_arg_n, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodN", 611s # g_variant_new ("(n)", 611s # arg_arg_n), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_n_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_n_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_n_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_n: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_n_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint16 arg_arg_n, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodN", 611s # g_variant_new ("(n)", 611s # arg_arg_n), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_n: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_n ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpskw83wuw.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpskw83wuw.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # guint16 arg_arg_q, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_uint (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_q", 611s # (gchar *) "q", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodQ", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-q", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_q ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_q: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-q", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_q, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_q: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_q: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_q ( 611s # OrgProjectUsefulInterface *proxy, 611s # guint16 arg_arg_q, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodQ", 611s # g_variant_new ("(q)", 611s # arg_arg_q), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_q_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_q_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_q_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_q: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_q_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # guint16 arg_arg_q, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodQ", 611s # g_variant_new ("(q)", 611s # arg_arg_q), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_q: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_q ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpxm_kjpl9.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpxm_kjpl9.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # gint arg_arg_i, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_int (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_i", 611s # (gchar *) "i", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodI", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-i", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_i ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_i: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-i", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_i, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_i: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_i: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_i ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint arg_arg_i, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodI", 611s # g_variant_new ("(i)", 611s # arg_arg_i), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_i_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_i_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_i_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_i: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_i_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint arg_arg_i, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodI", 611s # g_variant_new ("(i)", 611s # arg_arg_i), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_i: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_i ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmp9mjghp6p.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmp9mjghp6p.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # guint arg_arg_u, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_uint (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_u", 611s # (gchar *) "u", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodU", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-u", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_u ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_u: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-u", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_u, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_u: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_u: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_u ( 611s # OrgProjectUsefulInterface *proxy, 611s # guint arg_arg_u, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodU", 611s # g_variant_new ("(u)", 611s # arg_arg_u), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_u_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_u_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_u_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_u: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_u_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # guint arg_arg_u, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodU", 611s # g_variant_new ("(u)", 611s # arg_arg_u), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_u: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_u ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmphqlxji0x.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmphqlxji0x.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # gint64 arg_arg_x, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_int64 (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_x", 611s # (gchar *) "x", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodX", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-x", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_x ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_x: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-x", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_x, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_x: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_x: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_x ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint64 arg_arg_x, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodX", 611s # g_variant_new ("(x)", 611s # arg_arg_x), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_x_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_x_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_x_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_x: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_x_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint64 arg_arg_x, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodX", 611s # g_variant_new ("(x)", 611s # arg_arg_x), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_x: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_x ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpvtcvierw.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpvtcvierw.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # guint64 arg_arg_t, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_uint64 (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_t", 611s # (gchar *) "t", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodT", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-t", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_t ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_t: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-t", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_t, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_t: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_t: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_t ( 611s # OrgProjectUsefulInterface *proxy, 611s # guint64 arg_arg_t, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodT", 611s # g_variant_new ("(t)", 611s # arg_arg_t), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_t_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_t_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_t_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_t: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_t_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # guint64 arg_arg_t, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodT", 611s # g_variant_new ("(t)", 611s # arg_arg_t), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_t: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_t ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpygsmehds.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpygsmehds.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # gdouble arg_arg_d, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_double (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_d", 611s # (gchar *) "d", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodD", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-d", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_d ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_d: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-d", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_d, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_d: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_d: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_d ( 611s # OrgProjectUsefulInterface *proxy, 611s # gdouble arg_arg_d, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodD", 611s # g_variant_new ("(d)", 611s # arg_arg_d), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_d_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_d_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_d_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_d: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_d_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # gdouble arg_arg_d, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodD", 611s # g_variant_new ("(d)", 611s # arg_arg_d), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_d: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_d ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpfwij_yhc.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpfwij_yhc.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # const gchar *arg_arg_s, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_string (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_s", 611s # (gchar *) "s", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodS", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-s", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_s ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_s: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-s", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_s, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_s: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_s: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_s ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_s, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodS", 611s # g_variant_new ("(s)", 611s # arg_arg_s), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_s_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_s_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_s_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_s: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_s_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_s, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodS", 611s # g_variant_new ("(s)", 611s # arg_arg_s), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_s: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_s ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmp_fteffxp.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmp_fteffxp.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # const gchar *arg_arg_o, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_string (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_o", 611s # (gchar *) "o", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodO", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-o", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_o ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_o: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-o", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_o, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_o: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_o: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_o ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_o, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodO", 611s # g_variant_new ("(o)", 611s # arg_arg_o), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_o_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_o_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_o_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_o: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_o_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_o, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodO", 611s # g_variant_new ("(o)", 611s # arg_arg_o), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_o: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_o ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmp7dm5niwy.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmp7dm5niwy.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # const gchar *arg_arg_g, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_string (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_g", 611s # (gchar *) "g", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodG", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-g", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_g ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_g: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-g", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_g, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_g: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_g: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_g ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_g, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodG", 611s # g_variant_new ("(g)", 611s # arg_arg_g), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_g_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_g_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_g_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_g: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_g_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_g, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodG", 611s # g_variant_new ("(g)", 611s # arg_arg_g), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_g: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_g ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpq5t_q5yb.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpq5t_q5yb.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # GVariant *arg_arg_h, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_variant (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_h", 611s # (gchar *) "h", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodH", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-h", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_h ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_h: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-h", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_h, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_h: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_h: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_h ( 611s # OrgProjectUsefulInterface *proxy, 611s # GVariant *arg_arg_h, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodH", 611s # g_variant_new ("(@h)", 611s # arg_arg_h), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_h_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_h_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_h_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_h: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_h_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # GVariant *arg_arg_h, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodH", 611s # g_variant_new ("(@h)", 611s # arg_arg_h), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_h: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_h ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmp8up41806.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmp8up41806.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # const gchar *arg_arg_ay, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_string (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_ay", 611s # (gchar *) "ay", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodAy", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-ay", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_ay: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-ay", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_ay, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_ay: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_ay: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_ay ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_ay, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAy", 611s # g_variant_new ("(^ay)", 611s # arg_arg_ay), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_ay_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_ay_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_ay_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_ay: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_ay_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *arg_arg_ay, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAy", 611s # g_variant_new ("(^ay)", 611s # arg_arg_ay), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_ay: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_ay ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpob64vy_m.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpob64vy_m.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # const gchar *const *arg_arg_as, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_boxed (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_as", 611s # (gchar *) "as", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodAs", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-as", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_as ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_as: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-as", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_as, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_as: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_as: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_as ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *const *arg_arg_as, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAs", 611s # g_variant_new ("(^as)", 611s # arg_arg_as), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_as_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_as_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_as_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_as: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_as_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *const *arg_arg_as, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAs", 611s # g_variant_new ("(^as)", 611s # arg_arg_as), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_as: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_as ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpkuucbp7c.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpkuucbp7c.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # const gchar *const *arg_arg_ao, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_boxed (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_ao", 611s # (gchar *) "ao", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodAo", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-ao", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_ao: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-ao", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_ao, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_ao: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_ao: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_ao ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *const *arg_arg_ao, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAo", 611s # g_variant_new ("(^ao)", 611s # arg_arg_ao), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_ao_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_ao_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_ao_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_ao: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_ao_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *const *arg_arg_ao, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAo", 611s # g_variant_new ("(^ao)", 611s # arg_arg_ao), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_ao: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_ao ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmpj2pl7ycb.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmpj2pl7ycb.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # const gchar *const *arg_arg_aay, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_boxed (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_aay", 611s # (gchar *) "aay", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodAay", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-aay", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_aay: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-aay", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_aay, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_aay: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_aay: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_aay ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *const *arg_arg_aay, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAay", 611s # g_variant_new ("(^aay)", 611s # arg_arg_aay), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_aay_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_aay_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_aay_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_aay: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_aay_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # const gchar *const *arg_arg_aay, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAay", 611s # g_variant_new ("(^aay)", 611s # arg_arg_aay), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_aay: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_aay ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpjlk4kotd/tmppecgld5t.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlk4kotd/tmppecgld5t.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # GVariant *arg_arg_asv, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 3); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # g_marshal_value_peek_variant (param_values + 2), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_asv", 611s # (gchar *) "a{sv}", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodAsv", 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 611s # NULL, 611s # NULL 611s # }, 611s # "handle-single-arg-method-asv", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * @arg_arg_asv: Argument passed by remote caller. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-asv", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_asv, 611s # G_TYPE_BOOLEAN, 611s # 2, 611s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_asv: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_asv: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_asv ( 611s # OrgProjectUsefulInterface *proxy, 611s # GVariant *arg_arg_asv, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAsv", 611s # g_variant_new ("(@a{sv})", 611s # arg_arg_asv), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_asv_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_asv_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_asv_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @arg_arg_asv: Argument to pass with the method invocation. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_asv_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # GVariant *arg_arg_asv, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodAsv", 611s # g_variant_new ("(@a{sv})", 611s # arg_arg_asv), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "()"); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_asv: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_asv ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("()")); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 611s # gdbus-codegen: /usr/bin/gdbus-codegen 611s # tmpdir: /tmp/tmpxotjytt1 611s # /tmp/tmpxotjytt1/tmp5hefd7_f.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp5hefd7_f.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 2); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_b", 611s # (gchar *) "b", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodB", 611s # NULL, 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 611s # NULL 611s # }, 611s # "handle-single-arg-method-b", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_b ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-b", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_b, 611s # G_TYPE_BOOLEAN, 611s # 1, 611s # G_TYPE_DBUS_METHOD_INVOCATION); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_b: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_b ( 611s # OrgProjectUsefulInterface *proxy, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodB", 611s # g_variant_new ("()"), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_b_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_b_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # gboolean *out_arg_b, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "(b)", 611s # out_arg_b); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_b_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_b_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # gboolean *out_arg_b, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodB", 611s # g_variant_new ("()"), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "(b)", 611s # out_arg_b); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_b: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * @arg_b: Parameter to return. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_b ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation, 611s # gboolean arg_b) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("(b)", 611s # arg_b)); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpxotjytt1/tmp5jsw_qqw.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp5jsw_qqw.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 2); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_y", 611s # (gchar *) "y", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodY", 611s # NULL, 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 611s # NULL 611s # }, 611s # "handle-single-arg-method-y", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_y ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-y", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_y, 611s # G_TYPE_BOOLEAN, 611s # 1, 611s # G_TYPE_DBUS_METHOD_INVOCATION); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_y: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_y ( 611s # OrgProjectUsefulInterface *proxy, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodY", 611s # g_variant_new ("()"), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_y_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_y_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # guchar *out_arg_y, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "(y)", 611s # out_arg_y); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_y_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_y_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # guchar *out_arg_y, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodY", 611s # g_variant_new ("()"), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "(y)", 611s # out_arg_y); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_y: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * @arg_y: Parameter to return. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_y ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation, 611s # guchar arg_y) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("(y)", 611s # arg_y)); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 611s # } 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _org_project_useful_interface_skeleton_handle_set_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GVariant *variant, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # gboolean ret; 611s # ret = FALSE; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # if (info->use_gvariant) 611s # g_value_set_variant (&value, variant); 611s # else 611s # g_dbus_gvariant_to_gvalue (variant, &value); 611s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # g_value_unset (&value); 611s # ret = TRUE; 611s # } 611s # return ret; 611s # } 611s # 611s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 611s # { 611s # _org_project_useful_interface_skeleton_handle_method_call, 611s # _org_project_useful_interface_skeleton_handle_get_property, 611s # _org_project_useful_interface_skeleton_handle_set_property, 611s # {NULL} 611s # }; 611s # 611s # static GDBusInterfaceInfo * 611s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return org_project_useful_interface_interface_info (); 611s # } 611s # 611s # static GDBusInterfaceVTable * 611s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 611s # { 611s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 611s # } 611s # 611s # static GVariant * 611s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 611s # 611s # GVariantBuilder builder; 611s # guint n; 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 611s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #else 611s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 611s # #endif 611s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 611s # goto out; 611s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 611s # { 611s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 611s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 611s # { 611s # GVariant *value; 611s # 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); 611s # if (value != NULL) 611s # { 611s # g_variant_take_ref (value); 611s # g_variant_builder_add (&builder, "{sv}", info->name, value); 611s # g_variant_unref (value); 611s # } 611s # } 611s # } 611s # out: 611s # return g_variant_builder_end (&builder); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_skeleton_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 611s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 611s # if (skeleton->priv->changed_properties_idle_source != NULL) 611s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 611s # g_main_context_unref (skeleton->priv->context); 611s # g_mutex_clear (&skeleton->priv->lock); 611s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 611s # #else 611s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 611s # #endif 611s # 611s # g_mutex_init (&skeleton->priv->lock); 611s # skeleton->priv->context = g_main_context_ref_thread_default (); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusInterfaceSkeletonClass *skeleton_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 611s # 611s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 611s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 611s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 611s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 611s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_skeleton_new: 611s # * 611s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_skeleton_new (void) 611s # { 611s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 611s # } 611s # Error: 611s # 611s # /tmp/tmpxotjytt1/tmpw9tfn0n9.xml: 611s # 611s # 611s # 611s # 611s # 611s # 611s # 611s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmpw9tfn0n9.xml', '--output', '-', '--body'] 611s # Return code: 0 611s # Output: 611s # /* 611s # * This file is generated by gdbus-codegen, do not modify it. 611s # * 611s # * The license of this code is the same as for the D-Bus interface description 611s # * it was derived from. Note that it links to GLib, so must comply with the 611s # * LGPL linking clauses. 611s # */ 611s # 611s # #ifdef HAVE_CONFIG_H 611s # # include "config.h" 611s # #endif 611s # 611s # #include 611s # #ifdef G_OS_UNIX 611s # # include 611s # #endif 611s # 611s # #ifdef G_ENABLE_DEBUG 611s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 611s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 611s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 611s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 611s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 611s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 611s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 611s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 611s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 611s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 611s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 611s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 611s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 611s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 611s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 611s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 611s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 611s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 611s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 611s # #else /* !G_ENABLE_DEBUG */ 611s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 611s # * Do not access GValues directly in your code. Instead, use the 611s # * g_value_get_*() functions 611s # */ 611s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 611s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 611s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 611s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 611s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 611s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 611s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 611s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 611s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 611s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 611s # #endif /* !G_ENABLE_DEBUG */ 611s # 611s # typedef struct 611s # { 611s # GDBusArgInfo parent_struct; 611s # gboolean use_gvariant; 611s # } _ExtendedGDBusArgInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusMethodInfo parent_struct; 611s # const gchar *signal_name; 611s # gboolean pass_fdlist; 611s # } _ExtendedGDBusMethodInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusSignalInfo parent_struct; 611s # const gchar *signal_name; 611s # } _ExtendedGDBusSignalInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusPropertyInfo parent_struct; 611s # const gchar *hyphen_name; 611s # guint use_gvariant : 1; 611s # guint emits_changed_signal : 1; 611s # } _ExtendedGDBusPropertyInfo; 611s # 611s # typedef struct 611s # { 611s # GDBusInterfaceInfo parent_struct; 611s # const gchar *hyphen_name; 611s # } _ExtendedGDBusInterfaceInfo; 611s # 611s # typedef struct 611s # { 611s # const _ExtendedGDBusPropertyInfo *info; 611s # guint prop_id; 611s # GValue orig_value; /* the value before the change */ 611s # } ChangedProperty; 611s # 611s # static void 611s # _changed_property_free (ChangedProperty *data) 611s # { 611s # g_value_unset (&data->orig_value); 611s # g_free (data); 611s # } 611s # 611s # static gboolean 611s # _g_strv_equal0 (gchar **a, gchar **b) 611s # { 611s # gboolean ret = FALSE; 611s # guint n; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # if (g_strv_length (a) != g_strv_length (b)) 611s # goto out; 611s # for (n = 0; a[n] != NULL; n++) 611s # if (g_strcmp0 (a[n], b[n]) != 0) 611s # goto out; 611s # ret = TRUE; 611s # out: 611s # return ret; 611s # } 611s # 611s # static gboolean 611s # _g_variant_equal0 (GVariant *a, GVariant *b) 611s # { 611s # gboolean ret = FALSE; 611s # if (a == NULL && b == NULL) 611s # { 611s # ret = TRUE; 611s # goto out; 611s # } 611s # if (a == NULL || b == NULL) 611s # goto out; 611s # ret = g_variant_equal (a, b); 611s # out: 611s # return ret; 611s # } 611s # 611s # G_GNUC_UNUSED static gboolean 611s # _g_value_equal (const GValue *a, const GValue *b) 611s # { 611s # gboolean ret = FALSE; 611s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 611s # switch (G_VALUE_TYPE (a)) 611s # { 611s # case G_TYPE_BOOLEAN: 611s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 611s # break; 611s # case G_TYPE_UCHAR: 611s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 611s # break; 611s # case G_TYPE_INT: 611s # ret = (g_value_get_int (a) == g_value_get_int (b)); 611s # break; 611s # case G_TYPE_UINT: 611s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 611s # break; 611s # case G_TYPE_INT64: 611s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 611s # break; 611s # case G_TYPE_UINT64: 611s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 611s # break; 611s # case G_TYPE_DOUBLE: 611s # { 611s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 611s # gdouble da = g_value_get_double (a); 611s # gdouble db = g_value_get_double (b); 611s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 611s # } 611s # break; 611s # case G_TYPE_STRING: 611s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 611s # break; 611s # case G_TYPE_VARIANT: 611s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 611s # break; 611s # default: 611s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 611s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 611s # else 611s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 611s # break; 611s # } 611s # return ret; 611s # } 611s # 611s # static void 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint G_GNUC_UNUSED, 611s # void *marshal_data) 611s # { 611s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 611s # (void *data1, 611s # GDBusMethodInvocation *arg_method_invocation, 611s # void *data2); 611s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 611s # GCClosure *cc = (GCClosure*) closure; 611s # void *data1, *data2; 611s # gboolean v_return; 611s # 611s # g_return_if_fail (return_value != NULL); 611s # g_return_if_fail (n_param_values == 2); 611s # 611s # if (G_CCLOSURE_SWAP_DATA (closure)) 611s # { 611s # data1 = closure->data; 611s # data2 = g_value_peek_pointer (param_values + 0); 611s # } 611s # else 611s # { 611s # data1 = g_value_peek_pointer (param_values + 0); 611s # data2 = closure->data; 611s # } 611s # 611s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 611s # (marshal_data ? marshal_data : cc->callback); 611s # 611s # v_return = 611s # callback (data1, 611s # g_marshal_value_peek_object (param_values + 1), 611s # data2); 611s # 611s # g_value_set_boolean (return_value, v_return); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ 611s # * Code for interface org.project.UsefulInterface 611s # * ------------------------------------------------------------------------ 611s # */ 611s # 611s # /** 611s # * SECTION:OrgProjectUsefulInterface 611s # * @title: OrgProjectUsefulInterface 611s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 611s # * 611s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 611s # */ 611s # 611s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 611s # 611s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 611s # { 611s # { 611s # -1, 611s # (gchar *) "arg_n", 611s # (gchar *) "n", 611s # NULL 611s # }, 611s # FALSE 611s # }; 611s # 611s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 611s # { 611s # { 611s # -1, 611s # (gchar *) "SingleArgMethodN", 611s # NULL, 611s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 611s # NULL 611s # }, 611s # "handle-single-arg-method-n", 611s # FALSE 611s # }; 611s # 611s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 611s # { 611s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 611s # NULL 611s # }; 611s # 611s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 611s # { 611s # { 611s # -1, 611s # (gchar *) "org.project.UsefulInterface", 611s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 611s # NULL, 611s # NULL, 611s # NULL 611s # }, 611s # "org-project-useful-interface", 611s # }; 611s # 611s # 611s # /** 611s # * org_project_useful_interface_interface_info: 611s # * 611s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 611s # * 611s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 611s # */ 611s # GDBusInterfaceInfo * 611s # org_project_useful_interface_interface_info (void) 611s # { 611s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_override_properties: 611s # * @klass: The class structure for a #GObject derived class. 611s # * @property_id_begin: The property id to assign to the first overridden property. 611s # * 611s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 611s # * The properties are overridden in the order they are defined. 611s # * 611s # * Returns: The last property id. 611s # */ 611s # guint 611s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 611s # { 611s # return property_id_begin - 1; 611s # } 611s # 611s # 611s # inline static void 611s # org_project_useful_interface_method_marshal_single_arg_method_n ( 611s # GClosure *closure, 611s # GValue *return_value, 611s # unsigned int n_param_values, 611s # const GValue *param_values, 611s # void *invocation_hint, 611s # void *marshal_data) 611s # { 611s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 611s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 611s # } 611s # 611s # 611s # /** 611s # * OrgProjectUsefulInterface: 611s # * 611s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceIface: 611s # * @parent_iface: The parent interface. 611s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 611s # * 611s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 611s # */ 611s # 611s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 611s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 611s # 611s # static void 611s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 611s # { 611s # /* GObject signals for incoming D-Bus method calls: */ 611s # /** 611s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: A #GDBusMethodInvocation. 611s # * 611s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 611s # * 611s # * 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. 611s # * 611s # * 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. 611s # */ 611s # g_signal_new ("handle-single-arg-method-n", 611s # G_TYPE_FROM_INTERFACE (iface), 611s # G_SIGNAL_RUN_LAST, 611s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 611s # g_signal_accumulator_true_handled, 611s # NULL, 611s # org_project_useful_interface_method_marshal_single_arg_method_n, 611s # G_TYPE_BOOLEAN, 611s # 1, 611s # G_TYPE_DBUS_METHOD_INVOCATION); 611s # 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_n: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 611s # */ 611s # void 611s # org_project_useful_interface_call_single_arg_method_n ( 611s # OrgProjectUsefulInterface *proxy, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodN", 611s # g_variant_new ("()"), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # callback, 611s # user_data); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_n_finish: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_n_finish ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint16 *out_arg_n, 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "(n)", 611s # out_arg_n); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_call_single_arg_method_n_sync: 611s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 611s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL. 611s # * 611s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 611s # * 611s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 611s # */ 611s # gboolean 611s # org_project_useful_interface_call_single_arg_method_n_sync ( 611s # OrgProjectUsefulInterface *proxy, 611s # gint16 *out_arg_n, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GVariant *_ret; 611s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 611s # "SingleArgMethodN", 611s # g_variant_new ("()"), 611s # G_DBUS_CALL_FLAGS_NONE, 611s # -1, 611s # cancellable, 611s # error); 611s # if (_ret == NULL) 611s # goto _out; 611s # g_variant_get (_ret, 611s # "(n)", 611s # out_arg_n); 611s # g_variant_unref (_ret); 611s # _out: 611s # return _ret != NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_complete_single_arg_method_n: 611s # * @object: A #OrgProjectUsefulInterface. 611s # * @invocation: (transfer full): A #GDBusMethodInvocation. 611s # * @arg_n: Parameter to return. 611s # * 611s # * 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. 611s # * 611s # * This method will free @invocation, you cannot use it afterwards. 611s # */ 611s # void 611s # org_project_useful_interface_complete_single_arg_method_n ( 611s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 611s # GDBusMethodInvocation *invocation, 611s # gint16 arg_n) 611s # { 611s # g_dbus_method_invocation_return_value (invocation, 611s # g_variant_new ("(n)", 611s # arg_n)); 611s # } 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxy: 611s # * 611s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceProxyClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceProxy. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceProxyPrivate 611s # { 611s # GData *qdata; 611s # }; 611s # 611s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #else 611s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 611s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 611s # 611s # #endif 611s # static void 611s # org_project_useful_interface_proxy_finalize (GObject *object) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 611s # g_datalist_clear (&proxy->priv->qdata); 611s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 611s # guint prop_id G_GNUC_UNUSED, 611s # const GValue *value G_GNUC_UNUSED, 611s # GParamSpec *pspec G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 611s # const gchar *sender_name G_GNUC_UNUSED, 611s # const gchar *signal_name, 611s # GVariant *parameters) 611s # { 611s # _ExtendedGDBusSignalInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # gsize n; 611s # guint signal_id; 611s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 611s # if (info == NULL) 611s # return; 611s # num_params = g_variant_n_children (parameters); 611s # paramv = g_new0 (GValue, num_params + 1); 611s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[0], proxy); 611s # g_variant_iter_init (&iter, parameters); 611s # n = 1; 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_signal_emitv (paramv, signal_id, 0, NULL); 611s # for (n = 0; n < num_params + 1; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 611s # GVariant *changed_properties, 611s # const gchar *const *invalidated_properties) 611s # { 611s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 611s # guint n; 611s # const gchar *key; 611s # GVariantIter *iter; 611s # _ExtendedGDBusPropertyInfo *info; 611s # g_variant_get (changed_properties, "a{sv}", &iter); 611s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 611s # g_datalist_remove_data (&proxy->priv->qdata, key); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # g_variant_iter_free (iter); 611s # for (n = 0; invalidated_properties[n] != NULL; n++) 611s # { 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 611s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 611s # if (info != NULL) 611s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 611s # } 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 611s # { 611s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 611s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 611s # #else 611s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 611s # #endif 611s # 611s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 611s # { 611s # GObjectClass *gobject_class; 611s # GDBusProxyClass *proxy_class; 611s # 611s # gobject_class = G_OBJECT_CLASS (klass); 611s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 611s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 611s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 611s # 611s # proxy_class = G_DBUS_PROXY_CLASS (klass); 611s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 611s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 611s # 611s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 611s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 611s # #endif 611s # } 611s # 611s # static void 611s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 611s # { 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_sync: 611s # * @connection: A #GDBusConnection. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_sync ( 611s # GDBusConnection *connection, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 611s # * @user_data: User data to pass to @callback. 611s # * 611s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 611s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 611s # */ 611s # void 611s # org_project_useful_interface_proxy_new_for_bus ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GAsyncReadyCallback callback, 611s # gpointer user_data) 611s # { 611s # g_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); 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_finish: 611s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 611s # * @error: Return location for error or %NULL 611s # * 611s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_finish ( 611s # GAsyncResult *res, 611s # GError **error) 611s # { 611s # GObject *ret; 611s # GObject *source_object; 611s # source_object = g_async_result_get_source_object (res); 611s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 611s # g_object_unref (source_object); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # /** 611s # * org_project_useful_interface_proxy_new_for_bus_sync: 611s # * @bus_type: A #GBusType. 611s # * @flags: Flags from the #GDBusProxyFlags enumeration. 611s # * @name: A bus name (well-known or unique). 611s # * @object_path: An object path. 611s # * @cancellable: (nullable): A #GCancellable or %NULL. 611s # * @error: Return location for error or %NULL 611s # * 611s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 611s # * 611s # * The calling thread is blocked until a reply is received. 611s # * 611s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 611s # * 611s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 611s # */ 611s # OrgProjectUsefulInterface * 611s # org_project_useful_interface_proxy_new_for_bus_sync ( 611s # GBusType bus_type, 611s # GDBusProxyFlags flags, 611s # const gchar *name, 611s # const gchar *object_path, 611s # GCancellable *cancellable, 611s # GError **error) 611s # { 611s # GInitable *ret; 611s # 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); 611s # if (ret != NULL) 611s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 611s # else 611s # return NULL; 611s # } 611s # 611s # 611s # /* ------------------------------------------------------------------------ */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeleton: 611s # * 611s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 611s # */ 611s # 611s # /** 611s # * OrgProjectUsefulInterfaceSkeletonClass: 611s # * @parent_class: The parent class. 611s # * 611s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 611s # */ 611s # 611s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 611s # { 611s # GValue *properties; 611s # GList *changed_properties; 611s # GSource *changed_properties_idle_source; 611s # GMainContext *context; 611s # GMutex lock; 611s # }; 611s # 611s # static void 611s # _org_project_useful_interface_skeleton_handle_method_call ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name, 611s # const gchar *method_name, 611s # GVariant *parameters, 611s # GDBusMethodInvocation *invocation, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # _ExtendedGDBusMethodInfo *info; 611s # GVariantIter iter; 611s # GVariant *child; 611s # GValue *paramv; 611s # gsize num_params; 611s # guint num_extra; 611s # gsize n; 611s # guint signal_id; 611s # GValue return_value = G_VALUE_INIT; 611s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 611s # g_assert (info != NULL); 611s # num_params = g_variant_n_children (parameters); 611s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 611s # n = 0; 611s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_set_object (¶mv[n++], skeleton); 611s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 611s # g_value_set_object (¶mv[n++], invocation); 611s # if (info->pass_fdlist) 611s # { 611s # #ifdef G_OS_UNIX 611s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 611s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 611s # #else 611s # g_assert_not_reached (); 611s # #endif 611s # } 611s # g_variant_iter_init (&iter, parameters); 611s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 611s # { 611s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 611s # if (arg_info->use_gvariant) 611s # { 611s # g_value_init (¶mv[n], G_TYPE_VARIANT); 611s # g_value_set_variant (¶mv[n], child); 611s # n++; 611s # } 611s # else 611s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 611s # g_variant_unref (child); 611s # } 611s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 611s # g_value_init (&return_value, G_TYPE_BOOLEAN); 611s # g_signal_emitv (paramv, signal_id, 0, &return_value); 611s # if (!g_value_get_boolean (&return_value)) 611s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 611s # g_value_unset (&return_value); 611s # for (n = 0; n < num_params + num_extra; n++) 611s # g_value_unset (¶mv[n]); 611s # g_free (paramv); 611s # } 611s # 611s # static GVariant * 611s # _org_project_useful_interface_skeleton_handle_get_property ( 611s # GDBusConnection *connection G_GNUC_UNUSED, 611s # const gchar *sender G_GNUC_UNUSED, 611s # const gchar *object_path G_GNUC_UNUSED, 611s # const gchar *interface_name G_GNUC_UNUSED, 611s # const gchar *property_name, 611s # GError **error, 611s # gpointer user_data) 611s # { 611s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 611s # GValue value = G_VALUE_INIT; 611s # GParamSpec *pspec; 611s # _ExtendedGDBusPropertyInfo *info; 611s # GVariant *ret; 611s # ret = NULL; 611s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 611s # g_assert (info != NULL); 611s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 611s # if (pspec == NULL) 611s # { 611s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 611s # } 611s # else 611s # { 611s # g_value_init (&value, pspec->value_type); 611s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 611s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 611s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmpwlukj6kh.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmpwlukj6kh.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodQ", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-q", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_q ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-q", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_q, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_q: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_q ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodQ", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_q_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_q_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # guint16 *out_arg_q, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(q)", 612s # out_arg_q); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_q_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_q_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # guint16 *out_arg_q, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodQ", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(q)", 612s # out_arg_q); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_q: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_q: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_q ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # guint16 arg_q) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(q)", 612s # arg_q)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp671jxkdi.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp671jxkdi.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_i", 612s # (gchar *) "i", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodI", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-i", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_i ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-i", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_i, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_i: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_i ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodI", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_i_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_i_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gint *out_arg_i, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(i)", 612s # out_arg_i); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_i_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_i_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gint *out_arg_i, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodI", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(i)", 612s # out_arg_i); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_i: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_i: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_i ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # gint arg_i) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(i)", 612s # arg_i)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp978x6ndy.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp978x6ndy.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_u", 612s # (gchar *) "u", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodU", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-u", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_u ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-u", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_u, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_u: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_u ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodU", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_u_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_u_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # guint *out_arg_u, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(u)", 612s # out_arg_u); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_u_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_u_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # guint *out_arg_u, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodU", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(u)", 612s # out_arg_u); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_u: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_u: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_u ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # guint arg_u) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(u)", 612s # arg_u)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmphynefnko.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmphynefnko.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_x", 612s # (gchar *) "x", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodX", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-x", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_x ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-x", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_x, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_x: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_x ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodX", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_x_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_x_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gint64 *out_arg_x, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(x)", 612s # out_arg_x); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_x_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_x_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gint64 *out_arg_x, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodX", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(x)", 612s # out_arg_x); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_x: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_x: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_x ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # gint64 arg_x) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(x)", 612s # arg_x)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp9m8uxasy.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp9m8uxasy.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_t", 612s # (gchar *) "t", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodT", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-t", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_t ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-t", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_t, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_t: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_t ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodT", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_t_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_t_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # guint64 *out_arg_t, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(t)", 612s # out_arg_t); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_t_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_t_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # guint64 *out_arg_t, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodT", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(t)", 612s # out_arg_t); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_t: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_t: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_t ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # guint64 arg_t) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(t)", 612s # arg_t)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp0w20wxf2.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp0w20wxf2.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_d", 612s # (gchar *) "d", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodD", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-d", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_d ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-d", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_d, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_d: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_d ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodD", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_d_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_d_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gdouble *out_arg_d, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(d)", 612s # out_arg_d); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_d_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_d_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gdouble *out_arg_d, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodD", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(d)", 612s # out_arg_d); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_d: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_d: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_d ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # gdouble arg_d) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(d)", 612s # arg_d)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp9yism1an.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp9yism1an.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_s", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodS", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-s", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_s ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-s", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_s, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_s: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_s ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodS", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_s_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_s_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_s, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(s)", 612s # out_arg_s); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_s_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_s_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_s, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodS", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(s)", 612s # out_arg_s); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_s: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_s: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_s ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # const gchar *arg_s) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(s)", 612s # arg_s)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmpp9vjxrza.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmpp9vjxrza.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_o", 612s # (gchar *) "o", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodO", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-o", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_o ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-o", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_o, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_o: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_o ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodO", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_o_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_o_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_o, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(o)", 612s # out_arg_o); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_o_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_o_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_o, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodO", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(o)", 612s # out_arg_o); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_o: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_o: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_o ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # const gchar *arg_o) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(o)", 612s # arg_o)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmpv11rrcww.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmpv11rrcww.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_g", 612s # (gchar *) "g", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodG", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-g", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_g ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-g", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_g, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_g: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_g ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodG", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_g_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_g_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_g, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(g)", 612s # out_arg_g); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_g_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_g_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_g, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodG", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(g)", 612s # out_arg_g); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_g: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_g: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_g ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # const gchar *arg_g) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(g)", 612s # arg_g)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp565xkd0n.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp565xkd0n.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_h", 612s # (gchar *) "h", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodH", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-h", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_h ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-h", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_h, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_h: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_h ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodH", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_h_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_h_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # GVariant **out_arg_h, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(@h)", 612s # out_arg_h); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_h_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_h_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # GVariant **out_arg_h, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodH", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(@h)", 612s # out_arg_h); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_h: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_h: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_h ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # GVariant *arg_h) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(@h)", 612s # arg_h)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmppbgr15yw.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmppbgr15yw.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_ay", 612s # (gchar *) "ay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodAy", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-ay", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-ay", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_ay, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_ay: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_ay ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAy", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_ay_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_ay_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_ay, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^ay)", 612s # out_arg_ay); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_ay_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_ay_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar **out_arg_ay, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAy", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^ay)", 612s # out_arg_ay); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_ay: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_ay: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_ay ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # const gchar *arg_ay) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(^ay)", 612s # arg_ay)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp9lbxehdc.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp9lbxehdc.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_as", 612s # (gchar *) "as", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodAs", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-as", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_as ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-as", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_as, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_as: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_as ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAs", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_as_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_as_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar ***out_arg_as, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^as)", 612s # out_arg_as); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_as_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_as_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar ***out_arg_as, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAs", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^as)", 612s # out_arg_as); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_as: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_as: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_as ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # const gchar *const *arg_as) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(^as)", 612s # arg_as)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp_0mg392q.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp_0mg392q.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_ao", 612s # (gchar *) "ao", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodAo", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-ao", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-ao", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_ao, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_ao: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_ao ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAo", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_ao_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_ao_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar ***out_arg_ao, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^ao)", 612s # out_arg_ao); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_ao_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_ao_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar ***out_arg_ao, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAo", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^ao)", 612s # out_arg_ao); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_ao: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_ao: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_ao ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # const gchar *const *arg_ao) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(^ao)", 612s # arg_ao)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp3mefif1u.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp3mefif1u.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_aay", 612s # (gchar *) "aay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodAay", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-aay", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-aay", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_aay, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_aay: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_aay ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAay", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_aay_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_aay_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar ***out_arg_aay, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^aay)", 612s # out_arg_aay); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_aay_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_aay_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # gchar ***out_arg_aay, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAay", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(^aay)", 612s # out_arg_aay); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_aay: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_aay: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_aay ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # const gchar *const *arg_aay) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(^aay)", 612s # arg_aay)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmpxotjytt1/tmp1yf8sb1s.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxotjytt1/tmp1yf8sb1s.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_asv", 612s # (gchar *) "a{sv}", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgMethodAsv", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-single-arg-method-asv", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-single-arg-method-asv", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_useful_interface_method_marshal_single_arg_method_asv, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_asv: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_useful_interface_call_single_arg_method_asv ( 612s # OrgProjectUsefulInterface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAsv", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_asv_finish: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_asv_finish ( 612s # OrgProjectUsefulInterface *proxy, 612s # GVariant **out_arg_asv, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(@a{sv})", 612s # out_arg_asv); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_call_single_arg_method_asv_sync: 612s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 612s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_useful_interface_call_single_arg_method_asv_sync ( 612s # OrgProjectUsefulInterface *proxy, 612s # GVariant **out_arg_asv, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SingleArgMethodAsv", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(@a{sv})", 612s # out_arg_asv); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_complete_single_arg_method_asv: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @arg_asv: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_useful_interface_complete_single_arg_method_asv ( 612s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # GVariant *arg_asv) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(@a{sv})", 612s # arg_asv)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpuo0i27nv 612s # /tmp/tmpuo0i27nv/tmpc9qcixwz.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuo0i27nv/tmpc9qcixwz.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 20); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # g_marshal_value_peek_boolean (param_values + 2), 612s # g_marshal_value_peek_uchar (param_values + 3), 612s # g_marshal_value_peek_int (param_values + 4), 612s # g_marshal_value_peek_uint (param_values + 5), 612s # g_marshal_value_peek_int (param_values + 6), 612s # g_marshal_value_peek_uint (param_values + 7), 612s # g_marshal_value_peek_int64 (param_values + 8), 612s # g_marshal_value_peek_uint64 (param_values + 9), 612s # g_marshal_value_peek_double (param_values + 10), 612s # g_marshal_value_peek_string (param_values + 11), 612s # g_marshal_value_peek_string (param_values + 12), 612s # g_marshal_value_peek_string (param_values + 13), 612s # g_marshal_value_peek_variant (param_values + 14), 612s # g_marshal_value_peek_string (param_values + 15), 612s # g_marshal_value_peek_boxed (param_values + 16), 612s # g_marshal_value_peek_boxed (param_values + 17), 612s # g_marshal_value_peek_boxed (param_values + 18), 612s # g_marshal_value_peek_variant (param_values + 19), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.CallableIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectCallableIface 612s # * @title: OrgProjectCallableIface 612s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.CallableIface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_b", 612s # (gchar *) "b", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_y", 612s # (gchar *) "y", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_n", 612s # (gchar *) "n", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_i", 612s # (gchar *) "i", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_u", 612s # (gchar *) "u", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_x", 612s # (gchar *) "x", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_t", 612s # (gchar *) "t", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_d", 612s # (gchar *) "d", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_s", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_o", 612s # (gchar *) "o", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_g", 612s # (gchar *) "g", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_h", 612s # (gchar *) "h", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ay", 612s # (gchar *) "ay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_as", 612s # (gchar *) "as", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ao", 612s # (gchar *) "ao", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_aay", 612s # (gchar *) "aay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_asv", 612s # (gchar *) "a{sv}", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 612s # { 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 612s # { 612s # { 612s # -1, 612s # (gchar *) "MethodWithManyArgs", 612s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "handle-method-with-many-args", 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_b", 612s # (gchar *) "b", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_y", 612s # (gchar *) "y", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_n", 612s # (gchar *) "n", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_i", 612s # (gchar *) "i", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_u", 612s # (gchar *) "u", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_x", 612s # (gchar *) "x", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_t", 612s # (gchar *) "t", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_d", 612s # (gchar *) "d", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_s", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_o", 612s # (gchar *) "o", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_g", 612s # (gchar *) "g", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_h", 612s # (gchar *) "h", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ay", 612s # (gchar *) "ay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_as", 612s # (gchar *) "as", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ao", 612s # (gchar *) "ao", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_aay", 612s # (gchar *) "aay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_asv", 612s # (gchar *) "a{sv}", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 612s # { 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SameMethodWithManyArgs", 612s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "handle-same-method-with-many-args", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 612s # { 612s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 612s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.CallableIface", 612s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-callable-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_callable_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_callable_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_callable_iface_method_marshal_method_with_many_args ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _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, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _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, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectCallableIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 612s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.CallableIface. 612s # */ 612s # 612s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectCallableIface::handle-method-with-many-args: 612s # * @object: A #OrgProjectCallableIface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * @arg_an_b: Argument passed by remote caller. 612s # * @arg_an_y: Argument passed by remote caller. 612s # * @arg_an_n: Argument passed by remote caller. 612s # * @arg_an_q: Argument passed by remote caller. 612s # * @arg_an_i: Argument passed by remote caller. 612s # * @arg_an_u: Argument passed by remote caller. 612s # * @arg_an_x: Argument passed by remote caller. 612s # * @arg_an_t: Argument passed by remote caller. 612s # * @arg_an_d: Argument passed by remote caller. 612s # * @arg_an_s: Argument passed by remote caller. 612s # * @arg_an_o: Argument passed by remote caller. 612s # * @arg_an_g: Argument passed by remote caller. 612s # * @arg_an_h: Argument passed by remote caller. 612s # * @arg_an_ay: Argument passed by remote caller. 612s # * @arg_an_as: Argument passed by remote caller. 612s # * @arg_an_ao: Argument passed by remote caller. 612s # * @arg_an_aay: Argument passed by remote caller. 612s # * @arg_an_asv: Argument passed by remote caller. 612s # * 612s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-method-with-many-args", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_callable_iface_method_marshal_method_with_many_args, 612s # G_TYPE_BOOLEAN, 612s # 19, 612s # 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); 612s # 612s # /** 612s # * OrgProjectCallableIface::handle-same-method-with-many-args: 612s # * @object: A #OrgProjectCallableIface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * @arg_an_b: Argument passed by remote caller. 612s # * @arg_an_y: Argument passed by remote caller. 612s # * @arg_an_n: Argument passed by remote caller. 612s # * @arg_an_q: Argument passed by remote caller. 612s # * @arg_an_i: Argument passed by remote caller. 612s # * @arg_an_u: Argument passed by remote caller. 612s # * @arg_an_x: Argument passed by remote caller. 612s # * @arg_an_t: Argument passed by remote caller. 612s # * @arg_an_d: Argument passed by remote caller. 612s # * @arg_an_s: Argument passed by remote caller. 612s # * @arg_an_o: Argument passed by remote caller. 612s # * @arg_an_g: Argument passed by remote caller. 612s # * @arg_an_h: Argument passed by remote caller. 612s # * @arg_an_ay: Argument passed by remote caller. 612s # * @arg_an_as: Argument passed by remote caller. 612s # * @arg_an_ao: Argument passed by remote caller. 612s # * @arg_an_aay: Argument passed by remote caller. 612s # * @arg_an_asv: Argument passed by remote caller. 612s # * 612s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-same-method-with-many-args", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_callable_iface_method_marshal_same_method_with_many_args, 612s # G_TYPE_BOOLEAN, 612s # 19, 612s # 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); 612s # 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_method_with_many_args: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @arg_an_b: Argument to pass with the method invocation. 612s # * @arg_an_y: Argument to pass with the method invocation. 612s # * @arg_an_n: Argument to pass with the method invocation. 612s # * @arg_an_q: Argument to pass with the method invocation. 612s # * @arg_an_i: Argument to pass with the method invocation. 612s # * @arg_an_u: Argument to pass with the method invocation. 612s # * @arg_an_x: Argument to pass with the method invocation. 612s # * @arg_an_t: Argument to pass with the method invocation. 612s # * @arg_an_d: Argument to pass with the method invocation. 612s # * @arg_an_s: Argument to pass with the method invocation. 612s # * @arg_an_o: Argument to pass with the method invocation. 612s # * @arg_an_g: Argument to pass with the method invocation. 612s # * @arg_an_h: Argument to pass with the method invocation. 612s # * @arg_an_ay: Argument to pass with the method invocation. 612s # * @arg_an_as: Argument to pass with the method invocation. 612s # * @arg_an_ao: Argument to pass with the method invocation. 612s # * @arg_an_aay: Argument to pass with the method invocation. 612s # * @arg_an_asv: Argument to pass with the method invocation. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 612s # * 612s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_callable_iface_call_method_with_many_args ( 612s # OrgProjectCallableIface *proxy, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "MethodWithManyArgs", 612s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # arg_an_b, 612s # arg_an_y, 612s # arg_an_n, 612s # arg_an_q, 612s # arg_an_i, 612s # arg_an_u, 612s # arg_an_x, 612s # arg_an_t, 612s # arg_an_d, 612s # arg_an_s, 612s # arg_an_o, 612s # arg_an_g, 612s # arg_an_h, 612s # arg_an_ay, 612s # arg_an_as, 612s # arg_an_ao, 612s # arg_an_aay, 612s # arg_an_asv), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_method_with_many_args_finish: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_callable_iface_call_method_with_many_args_finish ( 612s # OrgProjectCallableIface *proxy, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "()"); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_method_with_many_args_sync: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @arg_an_b: Argument to pass with the method invocation. 612s # * @arg_an_y: Argument to pass with the method invocation. 612s # * @arg_an_n: Argument to pass with the method invocation. 612s # * @arg_an_q: Argument to pass with the method invocation. 612s # * @arg_an_i: Argument to pass with the method invocation. 612s # * @arg_an_u: Argument to pass with the method invocation. 612s # * @arg_an_x: Argument to pass with the method invocation. 612s # * @arg_an_t: Argument to pass with the method invocation. 612s # * @arg_an_d: Argument to pass with the method invocation. 612s # * @arg_an_s: Argument to pass with the method invocation. 612s # * @arg_an_o: Argument to pass with the method invocation. 612s # * @arg_an_g: Argument to pass with the method invocation. 612s # * @arg_an_h: Argument to pass with the method invocation. 612s # * @arg_an_ay: Argument to pass with the method invocation. 612s # * @arg_an_as: Argument to pass with the method invocation. 612s # * @arg_an_ao: Argument to pass with the method invocation. 612s # * @arg_an_aay: Argument to pass with the method invocation. 612s # * @arg_an_asv: Argument to pass with the method invocation. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_callable_iface_call_method_with_many_args_sync ( 612s # OrgProjectCallableIface *proxy, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "MethodWithManyArgs", 612s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # arg_an_b, 612s # arg_an_y, 612s # arg_an_n, 612s # arg_an_q, 612s # arg_an_i, 612s # arg_an_u, 612s # arg_an_x, 612s # arg_an_t, 612s # arg_an_d, 612s # arg_an_s, 612s # arg_an_o, 612s # arg_an_g, 612s # arg_an_h, 612s # arg_an_ay, 612s # arg_an_as, 612s # arg_an_ao, 612s # arg_an_aay, 612s # arg_an_asv), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "()"); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_same_method_with_many_args: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @arg_an_b: Argument to pass with the method invocation. 612s # * @arg_an_y: Argument to pass with the method invocation. 612s # * @arg_an_n: Argument to pass with the method invocation. 612s # * @arg_an_q: Argument to pass with the method invocation. 612s # * @arg_an_i: Argument to pass with the method invocation. 612s # * @arg_an_u: Argument to pass with the method invocation. 612s # * @arg_an_x: Argument to pass with the method invocation. 612s # * @arg_an_t: Argument to pass with the method invocation. 612s # * @arg_an_d: Argument to pass with the method invocation. 612s # * @arg_an_s: Argument to pass with the method invocation. 612s # * @arg_an_o: Argument to pass with the method invocation. 612s # * @arg_an_g: Argument to pass with the method invocation. 612s # * @arg_an_h: Argument to pass with the method invocation. 612s # * @arg_an_ay: Argument to pass with the method invocation. 612s # * @arg_an_as: Argument to pass with the method invocation. 612s # * @arg_an_ao: Argument to pass with the method invocation. 612s # * @arg_an_aay: Argument to pass with the method invocation. 612s # * @arg_an_asv: Argument to pass with the method invocation. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 612s # * 612s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_callable_iface_call_same_method_with_many_args ( 612s # OrgProjectCallableIface *proxy, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "SameMethodWithManyArgs", 612s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # arg_an_b, 612s # arg_an_y, 612s # arg_an_n, 612s # arg_an_q, 612s # arg_an_i, 612s # arg_an_u, 612s # arg_an_x, 612s # arg_an_t, 612s # arg_an_d, 612s # arg_an_s, 612s # arg_an_o, 612s # arg_an_g, 612s # arg_an_h, 612s # arg_an_ay, 612s # arg_an_as, 612s # arg_an_ao, 612s # arg_an_aay, 612s # arg_an_asv), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_same_method_with_many_args_finish: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_callable_iface_call_same_method_with_many_args_finish ( 612s # OrgProjectCallableIface *proxy, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "()"); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_same_method_with_many_args_sync: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @arg_an_b: Argument to pass with the method invocation. 612s # * @arg_an_y: Argument to pass with the method invocation. 612s # * @arg_an_n: Argument to pass with the method invocation. 612s # * @arg_an_q: Argument to pass with the method invocation. 612s # * @arg_an_i: Argument to pass with the method invocation. 612s # * @arg_an_u: Argument to pass with the method invocation. 612s # * @arg_an_x: Argument to pass with the method invocation. 612s # * @arg_an_t: Argument to pass with the method invocation. 612s # * @arg_an_d: Argument to pass with the method invocation. 612s # * @arg_an_s: Argument to pass with the method invocation. 612s # * @arg_an_o: Argument to pass with the method invocation. 612s # * @arg_an_g: Argument to pass with the method invocation. 612s # * @arg_an_h: Argument to pass with the method invocation. 612s # * @arg_an_ay: Argument to pass with the method invocation. 612s # * @arg_an_as: Argument to pass with the method invocation. 612s # * @arg_an_ao: Argument to pass with the method invocation. 612s # * @arg_an_aay: Argument to pass with the method invocation. 612s # * @arg_an_asv: Argument to pass with the method invocation. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_callable_iface_call_same_method_with_many_args_sync ( 612s # OrgProjectCallableIface *proxy, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "SameMethodWithManyArgs", 612s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # arg_an_b, 612s # arg_an_y, 612s # arg_an_n, 612s # arg_an_q, 612s # arg_an_i, 612s # arg_an_u, 612s # arg_an_x, 612s # arg_an_t, 612s # arg_an_d, 612s # arg_an_s, 612s # arg_an_o, 612s # arg_an_g, 612s # arg_an_h, 612s # arg_an_ay, 612s # arg_an_as, 612s # arg_an_ao, 612s # arg_an_aay, 612s # arg_an_asv), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "()"); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_complete_method_with_many_args: 612s # * @object: A #OrgProjectCallableIface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_callable_iface_complete_method_with_many_args ( 612s # OrgProjectCallableIface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("()")); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_complete_same_method_with_many_args: 612s # * @object: A #OrgProjectCallableIface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_callable_iface_complete_same_method_with_many_args ( 612s # OrgProjectCallableIface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("()")); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceProxy: 612s # * 612s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectCallableIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectCallableIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_callable_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_callable_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_callable_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceSkeleton: 612s # * 612s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectCallableIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectCallableIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_callable_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_callable_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_callable_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 612s # { 612s # _org_project_callable_iface_skeleton_handle_method_call, 612s # _org_project_callable_iface_skeleton_handle_get_property, 612s # _org_project_callable_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_callable_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_callable_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.OtherCallableIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectOtherCallableIface 612s # * @title: OrgProjectOtherCallableIface 612s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_b", 612s # (gchar *) "b", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_y", 612s # (gchar *) "y", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_n", 612s # (gchar *) "n", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_i", 612s # (gchar *) "i", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_u", 612s # (gchar *) "u", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_x", 612s # (gchar *) "x", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_t", 612s # (gchar *) "t", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_d", 612s # (gchar *) "d", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_s", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_o", 612s # (gchar *) "o", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_g", 612s # (gchar *) "g", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_h", 612s # (gchar *) "h", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ay", 612s # (gchar *) "ay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_as", 612s # (gchar *) "as", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ao", 612s # (gchar *) "ao", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_aay", 612s # (gchar *) "aay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_asv", 612s # (gchar *) "a{sv}", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 612s # { 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 612s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 612s # { 612s # { 612s # -1, 612s # (gchar *) "MethodWithManyArgs", 612s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "handle-method-with-many-args", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 612s # { 612s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.OtherCallableIface", 612s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-other-callable-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_other_callable_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_other_callable_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _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, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectOtherCallableIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherCallableIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 612s # */ 612s # 612s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 612s # * @object: A #OrgProjectOtherCallableIface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * @arg_an_b: Argument passed by remote caller. 612s # * @arg_an_y: Argument passed by remote caller. 612s # * @arg_an_n: Argument passed by remote caller. 612s # * @arg_an_q: Argument passed by remote caller. 612s # * @arg_an_i: Argument passed by remote caller. 612s # * @arg_an_u: Argument passed by remote caller. 612s # * @arg_an_x: Argument passed by remote caller. 612s # * @arg_an_t: Argument passed by remote caller. 612s # * @arg_an_d: Argument passed by remote caller. 612s # * @arg_an_s: Argument passed by remote caller. 612s # * @arg_an_o: Argument passed by remote caller. 612s # * @arg_an_g: Argument passed by remote caller. 612s # * @arg_an_h: Argument passed by remote caller. 612s # * @arg_an_ay: Argument passed by remote caller. 612s # * @arg_an_as: Argument passed by remote caller. 612s # * @arg_an_ao: Argument passed by remote caller. 612s # * @arg_an_aay: Argument passed by remote caller. 612s # * @arg_an_asv: Argument passed by remote caller. 612s # * 612s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-method-with-many-args", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_other_callable_iface_method_marshal_method_with_many_args, 612s # G_TYPE_BOOLEAN, 612s # 19, 612s # 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); 612s # 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_call_method_with_many_args: 612s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 612s # * @arg_an_b: Argument to pass with the method invocation. 612s # * @arg_an_y: Argument to pass with the method invocation. 612s # * @arg_an_n: Argument to pass with the method invocation. 612s # * @arg_an_q: Argument to pass with the method invocation. 612s # * @arg_an_i: Argument to pass with the method invocation. 612s # * @arg_an_u: Argument to pass with the method invocation. 612s # * @arg_an_x: Argument to pass with the method invocation. 612s # * @arg_an_t: Argument to pass with the method invocation. 612s # * @arg_an_d: Argument to pass with the method invocation. 612s # * @arg_an_s: Argument to pass with the method invocation. 612s # * @arg_an_o: Argument to pass with the method invocation. 612s # * @arg_an_g: Argument to pass with the method invocation. 612s # * @arg_an_h: Argument to pass with the method invocation. 612s # * @arg_an_ay: Argument to pass with the method invocation. 612s # * @arg_an_as: Argument to pass with the method invocation. 612s # * @arg_an_ao: Argument to pass with the method invocation. 612s # * @arg_an_aay: Argument to pass with the method invocation. 612s # * @arg_an_asv: Argument to pass with the method invocation. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 612s # * 612s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_other_callable_iface_call_method_with_many_args ( 612s # OrgProjectOtherCallableIface *proxy, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "MethodWithManyArgs", 612s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # arg_an_b, 612s # arg_an_y, 612s # arg_an_n, 612s # arg_an_q, 612s # arg_an_i, 612s # arg_an_u, 612s # arg_an_x, 612s # arg_an_t, 612s # arg_an_d, 612s # arg_an_s, 612s # arg_an_o, 612s # arg_an_g, 612s # arg_an_h, 612s # arg_an_ay, 612s # arg_an_as, 612s # arg_an_ao, 612s # arg_an_aay, 612s # arg_an_asv), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_call_method_with_many_args_finish: 612s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_other_callable_iface_call_method_with_many_args_finish ( 612s # OrgProjectOtherCallableIface *proxy, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "()"); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_call_method_with_many_args_sync: 612s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 612s # * @arg_an_b: Argument to pass with the method invocation. 612s # * @arg_an_y: Argument to pass with the method invocation. 612s # * @arg_an_n: Argument to pass with the method invocation. 612s # * @arg_an_q: Argument to pass with the method invocation. 612s # * @arg_an_i: Argument to pass with the method invocation. 612s # * @arg_an_u: Argument to pass with the method invocation. 612s # * @arg_an_x: Argument to pass with the method invocation. 612s # * @arg_an_t: Argument to pass with the method invocation. 612s # * @arg_an_d: Argument to pass with the method invocation. 612s # * @arg_an_s: Argument to pass with the method invocation. 612s # * @arg_an_o: Argument to pass with the method invocation. 612s # * @arg_an_g: Argument to pass with the method invocation. 612s # * @arg_an_h: Argument to pass with the method invocation. 612s # * @arg_an_ay: Argument to pass with the method invocation. 612s # * @arg_an_as: Argument to pass with the method invocation. 612s # * @arg_an_ao: Argument to pass with the method invocation. 612s # * @arg_an_aay: Argument to pass with the method invocation. 612s # * @arg_an_asv: Argument to pass with the method invocation. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_other_callable_iface_call_method_with_many_args_sync ( 612s # OrgProjectOtherCallableIface *proxy, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "MethodWithManyArgs", 612s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # arg_an_b, 612s # arg_an_y, 612s # arg_an_n, 612s # arg_an_q, 612s # arg_an_i, 612s # arg_an_u, 612s # arg_an_x, 612s # arg_an_t, 612s # arg_an_d, 612s # arg_an_s, 612s # arg_an_o, 612s # arg_an_g, 612s # arg_an_h, 612s # arg_an_ay, 612s # arg_an_as, 612s # arg_an_ao, 612s # arg_an_aay, 612s # arg_an_asv), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "()"); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_complete_method_with_many_args: 612s # * @object: A #OrgProjectOtherCallableIface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_other_callable_iface_complete_method_with_many_args ( 612s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("()")); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectOtherCallableIfaceProxy: 612s # * 612s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherCallableIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectOtherCallableIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_other_callable_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_other_callable_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherCallableIface * 612s # org_project_other_callable_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherCallableIface * 612s # org_project_other_callable_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_other_callable_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_other_callable_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherCallableIface * 612s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherCallableIface * 612s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectOtherCallableIfaceSkeleton: 612s # * 612s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherCallableIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_other_callable_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_other_callable_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_other_callable_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 612s # { 612s # _org_project_other_callable_iface_skeleton_handle_method_call, 612s # _org_project_other_callable_iface_skeleton_handle_get_property, 612s # _org_project_other_callable_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_other_callable_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_other_callable_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectOtherCallableIface * 612s # org_project_other_callable_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmplw0_f4fr 612s # /tmp/tmplw0_f4fr/tmpe5usrvki.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplw0_f4fr/tmpe5usrvki.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.CallableIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectCallableIface 612s # * @title: OrgProjectCallableIface 612s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for org.project.CallableIface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_b", 612s # (gchar *) "b", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_y", 612s # (gchar *) "y", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_n", 612s # (gchar *) "n", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_i", 612s # (gchar *) "i", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_u", 612s # (gchar *) "u", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_x", 612s # (gchar *) "x", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_t", 612s # (gchar *) "t", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_d", 612s # (gchar *) "d", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_s", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_o", 612s # (gchar *) "o", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_g", 612s # (gchar *) "g", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_h", 612s # (gchar *) "h", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ay", 612s # (gchar *) "ay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_as", 612s # (gchar *) "as", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ao", 612s # (gchar *) "ao", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_aay", 612s # (gchar *) "aay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_asv", 612s # (gchar *) "a{sv}", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 612s # { 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 612s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 612s # { 612s # { 612s # -1, 612s # (gchar *) "MethodWithManyArgs", 612s # NULL, 612s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-method-with-many-args", 612s # FALSE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 612s # { 612s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.CallableIface", 612s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-callable-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_callable_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_callable_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_callable_iface_method_marshal_method_with_many_args ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectCallableIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.CallableIface. 612s # */ 612s # 612s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * OrgProjectCallableIface::handle-method-with-many-args: 612s # * @object: A #OrgProjectCallableIface. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * 612s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-method-with-many-args", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # org_project_callable_iface_method_marshal_method_with_many_args, 612s # G_TYPE_BOOLEAN, 612s # 1, 612s # G_TYPE_DBUS_METHOD_INVOCATION); 612s # 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_method_with_many_args: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 612s # * 612s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # org_project_callable_iface_call_method_with_many_args ( 612s # OrgProjectCallableIface *proxy, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 612s # "MethodWithManyArgs", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_method_with_many_args_finish: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_callable_iface_call_method_with_many_args_finish ( 612s # OrgProjectCallableIface *proxy, 612s # gboolean *out_an_b, 612s # guchar *out_an_y, 612s # gint16 *out_an_n, 612s # guint16 *out_an_q, 612s # gint *out_an_i, 612s # guint *out_an_u, 612s # gint64 *out_an_x, 612s # guint64 *out_an_t, 612s # gdouble *out_an_d, 612s # gchar **out_an_s, 612s # gchar **out_an_o, 612s # gchar **out_an_g, 612s # GVariant **out_an_h, 612s # gchar **out_an_ay, 612s # gchar ***out_an_as, 612s # gchar ***out_an_ao, 612s # gchar ***out_an_aay, 612s # GVariant **out_an_asv, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # out_an_b, 612s # out_an_y, 612s # out_an_n, 612s # out_an_q, 612s # out_an_i, 612s # out_an_u, 612s # out_an_x, 612s # out_an_t, 612s # out_an_d, 612s # out_an_s, 612s # out_an_o, 612s # out_an_g, 612s # out_an_h, 612s # out_an_ay, 612s # out_an_as, 612s # out_an_ao, 612s # out_an_aay, 612s # out_an_asv); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_call_method_with_many_args_sync: 612s # * @proxy: A #OrgProjectCallableIfaceProxy. 612s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 612s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # org_project_callable_iface_call_method_with_many_args_sync ( 612s # OrgProjectCallableIface *proxy, 612s # gboolean *out_an_b, 612s # guchar *out_an_y, 612s # gint16 *out_an_n, 612s # guint16 *out_an_q, 612s # gint *out_an_i, 612s # guint *out_an_u, 612s # gint64 *out_an_x, 612s # guint64 *out_an_t, 612s # gdouble *out_an_d, 612s # gchar **out_an_s, 612s # gchar **out_an_o, 612s # gchar **out_an_g, 612s # GVariant **out_an_h, 612s # gchar **out_an_ay, 612s # gchar ***out_an_as, 612s # gchar ***out_an_ao, 612s # gchar ***out_an_aay, 612s # GVariant **out_an_asv, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 612s # "MethodWithManyArgs", 612s # g_variant_new ("()"), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # out_an_b, 612s # out_an_y, 612s # out_an_n, 612s # out_an_q, 612s # out_an_i, 612s # out_an_u, 612s # out_an_x, 612s # out_an_t, 612s # out_an_d, 612s # out_an_s, 612s # out_an_o, 612s # out_an_g, 612s # out_an_h, 612s # out_an_ay, 612s # out_an_as, 612s # out_an_ao, 612s # out_an_aay, 612s # out_an_asv); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_complete_method_with_many_args: 612s # * @object: A #OrgProjectCallableIface. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @an_b: Parameter to return. 612s # * @an_y: Parameter to return. 612s # * @an_n: Parameter to return. 612s # * @an_q: Parameter to return. 612s # * @an_i: Parameter to return. 612s # * @an_u: Parameter to return. 612s # * @an_x: Parameter to return. 612s # * @an_t: Parameter to return. 612s # * @an_d: Parameter to return. 612s # * @an_s: Parameter to return. 612s # * @an_o: Parameter to return. 612s # * @an_g: Parameter to return. 612s # * @an_h: Parameter to return. 612s # * @an_ay: Parameter to return. 612s # * @an_as: Parameter to return. 612s # * @an_ao: Parameter to return. 612s # * @an_aay: Parameter to return. 612s # * @an_asv: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # org_project_callable_iface_complete_method_with_many_args ( 612s # OrgProjectCallableIface *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # gboolean an_b, 612s # guchar an_y, 612s # gint16 an_n, 612s # guint16 an_q, 612s # gint an_i, 612s # guint an_u, 612s # gint64 an_x, 612s # guint64 an_t, 612s # gdouble an_d, 612s # const gchar *an_s, 612s # const gchar *an_o, 612s # const gchar *an_g, 612s # GVariant *an_h, 612s # const gchar *an_ay, 612s # const gchar *const *an_as, 612s # const gchar *const *an_ao, 612s # const gchar *const *an_aay, 612s # GVariant *an_asv) 612s # { 612s # g_dbus_method_invocation_return_value (invocation, 612s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # an_b, 612s # an_y, 612s # an_n, 612s # an_q, 612s # an_i, 612s # an_u, 612s # an_x, 612s # an_t, 612s # an_d, 612s # an_s, 612s # an_o, 612s # an_g, 612s # an_h, 612s # an_ay, 612s # an_as, 612s # an_ao, 612s # an_aay, 612s # an_asv)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceProxy: 612s # * 612s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectCallableIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectCallableIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_callable_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_callable_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_callable_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_CALLABLE_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceSkeleton: 612s # * 612s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectCallableIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectCallableIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectCallableIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_callable_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_callable_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_callable_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 612s # { 612s # _org_project_callable_iface_skeleton_handle_method_call, 612s # _org_project_callable_iface_skeleton_handle_get_property, 612s # _org_project_callable_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_callable_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_callable_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_callable_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectCallableIface * 612s # org_project_callable_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpuqe6_tat 612s # /tmp/tmpuqe6_tat/tmpm9xkr4oj.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqe6_tat/tmpm9xkr4oj.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 612s # (void *data1, 612s # GDBusMethodInvocation *arg_method_invocation, 612s # GUnixFDList *arg_fd_list, 612s # const gchar *arg_greeting, 612s # void *data2); 612s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # gboolean v_return; 612s # 612s # g_return_if_fail (return_value != NULL); 612s # g_return_if_fail (n_param_values == 4); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # v_return = 612s # callback (data1, 612s # g_marshal_value_peek_object (param_values + 1), 612s # g_marshal_value_peek_object (param_values + 2), 612s # g_marshal_value_peek_string (param_values + 3), 612s # data2); 612s # 612s # g_value_set_boolean (return_value, v_return); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface test.FDPassing 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:TestFDPassing 612s # * @title: TestFDPassing 612s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 612s # * 612s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 612s # */ 612s # 612s # /* ---- Introspection data for test.FDPassing ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 612s # { 612s # { 612s # -1, 612s # (gchar *) "greeting", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 612s # { 612s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 612s # { 612s # { 612s # -1, 612s # (gchar *) "response", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 612s # { 612s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 612s # { 612s # { 612s # -1, 612s # (gchar *) "HelloFD", 612s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 612s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 612s # NULL 612s # }, 612s # "handle-hello-fd", 612s # TRUE 612s # }; 612s # 612s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 612s # { 612s # &_test_fdpassing_method_info_hello_fd.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "test.FDPassing", 612s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 612s # NULL, 612s # NULL, 612s # NULL 612s # }, 612s # "test-fdpassing", 612s # }; 612s # 612s # 612s # /** 612s # * test_fdpassing_interface_info: 612s # * 612s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # test_fdpassing_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * test_fdpassing_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # test_fdpassing_method_marshal_hello_fd ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * TestFDPassing: 612s # * 612s # * Abstract interface type for the D-Bus interface test.FDPassing. 612s # */ 612s # 612s # /** 612s # * TestFDPassingIface: 612s # * @parent_iface: The parent interface. 612s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 612s # * 612s # * Virtual table for the D-Bus interface test.FDPassing. 612s # */ 612s # 612s # typedef TestFDPassingIface TestFDPassingInterface; 612s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 612s # 612s # static void 612s # test_fdpassing_default_init (TestFDPassingIface *iface) 612s # { 612s # /* GObject signals for incoming D-Bus method calls: */ 612s # /** 612s # * TestFDPassing::handle-hello-fd: 612s # * @object: A #TestFDPassing. 612s # * @invocation: A #GDBusMethodInvocation. 612s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 612s # * @arg_greeting: Argument passed by remote caller. 612s # * 612s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 612s # * 612s # * 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. 612s # * 612s # * 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. 612s # */ 612s # g_signal_new ("handle-hello-fd", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 612s # g_signal_accumulator_true_handled, 612s # NULL, 612s # test_fdpassing_method_marshal_hello_fd, 612s # G_TYPE_BOOLEAN, 612s # 3, 612s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 612s # 612s # } 612s # 612s # /** 612s # * test_fdpassing_call_hello_fd: 612s # * @proxy: A #TestFDPassingProxy. 612s # * @arg_greeting: Argument to pass with the method invocation. 612s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 612s # * 612s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 612s # */ 612s # void 612s # test_fdpassing_call_hello_fd ( 612s # TestFDPassing *proxy, 612s # const gchar *arg_greeting, 612s # GUnixFDList *fd_list, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 612s # "HelloFD", 612s # g_variant_new ("(s)", 612s # arg_greeting), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # fd_list, 612s # cancellable, 612s # callback, 612s # user_data); 612s # } 612s # 612s # /** 612s # * test_fdpassing_call_hello_fd_finish: 612s # * @proxy: A #TestFDPassingProxy. 612s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # test_fdpassing_call_hello_fd_finish ( 612s # TestFDPassing *proxy, 612s # gchar **out_response, 612s # GUnixFDList **out_fd_list, 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(s)", 612s # out_response); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * test_fdpassing_call_hello_fd_sync: 612s # * @proxy: A #TestFDPassingProxy. 612s # * @arg_greeting: Argument to pass with the method invocation. 612s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 612s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 612s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL. 612s # * 612s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 612s # * 612s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 612s # * 612s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 612s # */ 612s # gboolean 612s # test_fdpassing_call_hello_fd_sync ( 612s # TestFDPassing *proxy, 612s # const gchar *arg_greeting, 612s # GUnixFDList *fd_list, 612s # gchar **out_response, 612s # GUnixFDList **out_fd_list, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GVariant *_ret; 612s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 612s # "HelloFD", 612s # g_variant_new ("(s)", 612s # arg_greeting), 612s # G_DBUS_CALL_FLAGS_NONE, 612s # -1, 612s # fd_list, 612s # out_fd_list, 612s # cancellable, 612s # error); 612s # if (_ret == NULL) 612s # goto _out; 612s # g_variant_get (_ret, 612s # "(s)", 612s # out_response); 612s # g_variant_unref (_ret); 612s # _out: 612s # return _ret != NULL; 612s # } 612s # 612s # /** 612s # * test_fdpassing_complete_hello_fd: 612s # * @object: A #TestFDPassing. 612s # * @invocation: (transfer full): A #GDBusMethodInvocation. 612s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 612s # * @response: Parameter to return. 612s # * 612s # * 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. 612s # * 612s # * This method will free @invocation, you cannot use it afterwards. 612s # */ 612s # void 612s # test_fdpassing_complete_hello_fd ( 612s # TestFDPassing *object G_GNUC_UNUSED, 612s # GDBusMethodInvocation *invocation, 612s # GUnixFDList *fd_list, 612s # const gchar *response) 612s # { 612s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 612s # g_variant_new ("(s)", 612s # response), 612s # fd_list); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * TestFDPassingProxy: 612s # * 612s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * TestFDPassingProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #TestFDPassingProxy. 612s # */ 612s # 612s # struct _TestFDPassingProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (TestFDPassingProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # test_fdpassing_proxy_finalize (GObject *object) 612s # { 612s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 612s # } 612s # 612s # static void 612s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = test_fdpassing_proxy_finalize; 612s # gobject_class->get_property = test_fdpassing_proxy_get_property; 612s # gobject_class->set_property = test_fdpassing_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 612s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * test_fdpassing_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # test_fdpassing_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * test_fdpassing_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with test_fdpassing_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # TestFDPassing * 612s # test_fdpassing_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return TEST_FDPASSING (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * test_fdpassing_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # TestFDPassing * 612s # test_fdpassing_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return TEST_FDPASSING (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * test_fdpassing_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # test_fdpassing_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * test_fdpassing_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # TestFDPassing * 612s # test_fdpassing_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return TEST_FDPASSING (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * test_fdpassing_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # TestFDPassing * 612s # test_fdpassing_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return TEST_FDPASSING (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * TestFDPassingSkeleton: 612s # * 612s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * TestFDPassingSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #TestFDPassingSkeleton. 612s # */ 612s # 612s # struct _TestFDPassingSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _test_fdpassing_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _test_fdpassing_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _test_fdpassing_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 612s # { 612s # _test_fdpassing_skeleton_handle_method_call, 612s # _test_fdpassing_skeleton_handle_get_property, 612s # _test_fdpassing_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return test_fdpassing_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (TestFDPassingSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # test_fdpassing_skeleton_finalize (GObject *object) 612s # { 612s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * test_fdpassing_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 612s # * 612s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 612s # */ 612s # TestFDPassing * 612s # test_fdpassing_skeleton_new (void) 612s # { 612s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 15 __main__.TestCodegen.test_generate_rst 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpfuhvi0yd 612s # /tmp/tmpfuhvi0yd/tmpm_s2hmfm.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfuhvi0yd/tmpm_s2hmfm.xml', '--generate-rst', 'test'] 612s # Return code: 0 612s # Output: 612s # 612s # Error: 612s ok 16 __main__.TestCodegen.test_generate_rst_method 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpmwehxv3e 612s # /tmp/tmpmwehxv3e/tmp6oqu136l.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmwehxv3e/tmp6oqu136l.xml', '--generate-rst', 'test'] 612s # Return code: 0 612s # Output: 612s # 612s # Error: 612s ok 17 __main__.TestCodegen.test_generate_rst_property 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpwrf3thqb 612s # /tmp/tmpwrf3thqb/tmp5bowpz1k.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwrf3thqb/tmp5bowpz1k.xml', '--generate-rst', 'test'] 612s # Return code: 0 612s # Output: 612s # 612s # Error: 612s ok 18 __main__.TestCodegen.test_generate_rst_signal 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpdua0h8i0 612s # /tmp/tmpdua0h8i0/tmpqokcuq7t.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdua0h8i0/tmpqokcuq7t.xml', '--generate-rst', 'test'] 612s # Return code: 0 612s # Output: 612s # 612s # Error: 612s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmp26iw5arf 612s # /tmp/tmp26iw5arf/tmpezzyov5_.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp26iw5arf/tmpezzyov5_.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 612s # GClosure *closure, 612s # GValue *return_value G_GNUC_UNUSED, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 612s # (void *data1, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv, 612s # void *data2); 612s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # 612s # g_return_if_fail (n_param_values == 19); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # callback (data1, 612s # g_marshal_value_peek_boolean (param_values + 1), 612s # g_marshal_value_peek_uchar (param_values + 2), 612s # g_marshal_value_peek_int (param_values + 3), 612s # g_marshal_value_peek_uint (param_values + 4), 612s # g_marshal_value_peek_int (param_values + 5), 612s # g_marshal_value_peek_uint (param_values + 6), 612s # g_marshal_value_peek_int64 (param_values + 7), 612s # g_marshal_value_peek_uint64 (param_values + 8), 612s # g_marshal_value_peek_double (param_values + 9), 612s # g_marshal_value_peek_string (param_values + 10), 612s # g_marshal_value_peek_string (param_values + 11), 612s # g_marshal_value_peek_string (param_values + 12), 612s # g_marshal_value_peek_variant (param_values + 13), 612s # g_marshal_value_peek_string (param_values + 14), 612s # g_marshal_value_peek_boxed (param_values + 15), 612s # g_marshal_value_peek_boxed (param_values + 16), 612s # g_marshal_value_peek_boxed (param_values + 17), 612s # g_marshal_value_peek_variant (param_values + 18), 612s # data2); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.SignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectSignalingIface 612s # * @title: OrgProjectSignalingIface 612s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.SignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_b", 612s # (gchar *) "b", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_y", 612s # (gchar *) "y", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_n", 612s # (gchar *) "n", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_i", 612s # (gchar *) "i", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_u", 612s # (gchar *) "u", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_x", 612s # (gchar *) "x", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_t", 612s # (gchar *) "t", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_d", 612s # (gchar *) "d", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_s", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_o", 612s # (gchar *) "o", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_g", 612s # (gchar *) "g", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_h", 612s # (gchar *) "h", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ay", 612s # (gchar *) "ay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_as", 612s # (gchar *) "as", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ao", 612s # (gchar *) "ao", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_aay", 612s # (gchar *) "aay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_asv", 612s # (gchar *) "a{sv}", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SignalWithManyArgs", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 612s # NULL 612s # }, 612s # "signal-with-many-args" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.SignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectSignalingIface::signal-with-many-args: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_b: Argument. 612s # * @arg_an_y: Argument. 612s # * @arg_an_n: Argument. 612s # * @arg_an_q: Argument. 612s # * @arg_an_i: Argument. 612s # * @arg_an_u: Argument. 612s # * @arg_an_x: Argument. 612s # * @arg_an_t: Argument. 612s # * @arg_an_d: Argument. 612s # * @arg_an_s: Argument. 612s # * @arg_an_o: Argument. 612s # * @arg_an_g: Argument. 612s # * @arg_an_h: Argument. 612s # * @arg_an_ay: Argument. 612s # * @arg_an_as: Argument. 612s # * @arg_an_ao: Argument. 612s # * @arg_an_aay: Argument. 612s # * @arg_an_asv: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 612s # g_signal_new ("signal-with-many-args", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 612s # G_TYPE_NONE, 612s # 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); 612s # 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_signal_with_many_args: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_b: Argument to pass with the signal. 612s # * @arg_an_y: Argument to pass with the signal. 612s # * @arg_an_n: Argument to pass with the signal. 612s # * @arg_an_q: Argument to pass with the signal. 612s # * @arg_an_i: Argument to pass with the signal. 612s # * @arg_an_u: Argument to pass with the signal. 612s # * @arg_an_x: Argument to pass with the signal. 612s # * @arg_an_t: Argument to pass with the signal. 612s # * @arg_an_d: Argument to pass with the signal. 612s # * @arg_an_s: Argument to pass with the signal. 612s # * @arg_an_o: Argument to pass with the signal. 612s # * @arg_an_g: Argument to pass with the signal. 612s # * @arg_an_h: Argument to pass with the signal. 612s # * @arg_an_ay: Argument to pass with the signal. 612s # * @arg_an_as: Argument to pass with the signal. 612s # * @arg_an_ao: Argument to pass with the signal. 612s # * @arg_an_aay: Argument to pass with the signal. 612s # * @arg_an_asv: Argument to pass with the signal. 612s # * 612s # * Emits the "SignalWithManyArgs" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_signal_with_many_args ( 612s # OrgProjectSignalingIface *object, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv) 612s # { 612s # 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); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_signaling_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 612s # { 612s # _org_project_signaling_iface_skeleton_handle_method_call, 612s # _org_project_signaling_iface_skeleton_handle_get_property, 612s # _org_project_signaling_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_signaling_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 612s # OrgProjectSignalingIface *object, 612s # gboolean arg_an_b, 612s # guchar arg_an_y, 612s # gint16 arg_an_n, 612s # guint16 arg_an_q, 612s # gint arg_an_i, 612s # guint arg_an_u, 612s # gint64 arg_an_x, 612s # guint64 arg_an_t, 612s # gdouble arg_an_d, 612s # const gchar *arg_an_s, 612s # const gchar *arg_an_o, 612s # const gchar *arg_an_g, 612s # GVariant *arg_an_h, 612s # const gchar *arg_an_ay, 612s # const gchar *const *arg_an_as, 612s # const gchar *const *arg_an_ao, 612s # const gchar *const *arg_an_aay, 612s # GVariant *arg_an_asv) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 612s # arg_an_b, 612s # arg_an_y, 612s # arg_an_n, 612s # arg_an_q, 612s # arg_an_i, 612s # arg_an_u, 612s # arg_an_x, 612s # arg_an_t, 612s # arg_an_d, 612s # arg_an_s, 612s # arg_an_o, 612s # arg_an_g, 612s # arg_an_h, 612s # arg_an_ay, 612s # arg_an_as, 612s # arg_an_ao, 612s # arg_an_aay, 612s # arg_an_asv)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpsouf48i2 612s # /tmp/tmpsouf48i2/tmp2csq5ga0.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsouf48i2/tmp2csq5ga0.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_VOID__INT64 ( 612s # GClosure *closure, 612s # GValue *return_value G_GNUC_UNUSED, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 612s # (void *data1, 612s # gint64 arg_an_x, 612s # void *data2); 612s # _GDbusCodegenMarshalVoid_Int64Func callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # callback (data1, 612s # g_marshal_value_peek_int64 (param_values + 1), 612s # data2); 612s # } 612s # 612s # static void 612s # _g_dbus_codegen_marshal_VOID__UINT64 ( 612s # GClosure *closure, 612s # GValue *return_value G_GNUC_UNUSED, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint G_GNUC_UNUSED, 612s # void *marshal_data) 612s # { 612s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 612s # (void *data1, 612s # guint64 arg_an_t, 612s # void *data2); 612s # _GDbusCodegenMarshalVoid_Uint64Func callback; 612s # GCClosure *cc = (GCClosure*) closure; 612s # void *data1, *data2; 612s # 612s # g_return_if_fail (n_param_values == 2); 612s # 612s # if (G_CCLOSURE_SWAP_DATA (closure)) 612s # { 612s # data1 = closure->data; 612s # data2 = g_value_peek_pointer (param_values + 0); 612s # } 612s # else 612s # { 612s # data1 = g_value_peek_pointer (param_values + 0); 612s # data2 = closure->data; 612s # } 612s # 612s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 612s # (marshal_data ? marshal_data : cc->callback); 612s # 612s # callback (data1, 612s # g_marshal_value_peek_uint64 (param_values + 1), 612s # data2); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.SignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectSignalingIface 612s # * @title: OrgProjectSignalingIface 612s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.SignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "NoArgSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "no-arg-signal" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_b", 612s # (gchar *) "b", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalB", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-b" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_y", 612s # (gchar *) "y", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalY", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-y" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_n", 612s # (gchar *) "n", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalN", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-n" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalQ", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-q" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_i", 612s # (gchar *) "i", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalI", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-i" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_u", 612s # (gchar *) "u", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalU", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-u" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_x", 612s # (gchar *) "x", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalX", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-x" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_t", 612s # (gchar *) "t", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalT", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-t" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_d", 612s # (gchar *) "d", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalD", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-d" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_s", 612s # (gchar *) "s", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalS", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-s" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_o", 612s # (gchar *) "o", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalO", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-o" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_g", 612s # (gchar *) "g", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalG", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-g" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_h", 612s # (gchar *) "h", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalH", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-h" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ay", 612s # (gchar *) "ay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalAY", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-ay" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_as", 612s # (gchar *) "as", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalAS", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-as" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_ao", 612s # (gchar *) "ao", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalAO", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-ao" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_aay", 612s # (gchar *) "aay", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalAAY", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-aay" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "an_asv", 612s # (gchar *) "a{sv}", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalASV", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-asv" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.SignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__BOOLEAN (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__UCHAR (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__INT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__UINT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__INT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__UINT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__DOUBLE (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__STRING (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__STRING (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__STRING (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VARIANT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__STRING (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__BOXED (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__BOXED (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__BOXED (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VARIANT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 612s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 612s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 612s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 612s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 612s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 612s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 612s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 612s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 612s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 612s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 612s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 612s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 612s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 612s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 612s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 612s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 612s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 612s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectSignalingIface::no-arg-signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 612s # g_signal_new ("no-arg-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_no_arg_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-b: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_b: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 612s # g_signal_new ("single-arg-signal-b", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_BOOLEAN); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-y: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_y: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 612s # g_signal_new ("single-arg-signal-y", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_UCHAR); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-n: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_n: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 612s # g_signal_new ("single-arg-signal-n", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_INT); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-q: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_q: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 612s # g_signal_new ("single-arg-signal-q", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_UINT); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-i: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_i: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 612s # g_signal_new ("single-arg-signal-i", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_INT); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-u: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_u: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 612s # g_signal_new ("single-arg-signal-u", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_UINT); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-x: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_x: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 612s # g_signal_new ("single-arg-signal-x", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_INT64); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-t: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_t: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 612s # g_signal_new ("single-arg-signal-t", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_UINT64); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-d: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_d: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 612s # g_signal_new ("single-arg-signal-d", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_DOUBLE); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-s: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_s: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 612s # g_signal_new ("single-arg-signal-s", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_STRING); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-o: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_o: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 612s # g_signal_new ("single-arg-signal-o", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_STRING); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-g: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_g: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 612s # g_signal_new ("single-arg-signal-g", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_STRING); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-h: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_h: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 612s # g_signal_new ("single-arg-signal-h", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_VARIANT); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-ay: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_ay: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 612s # g_signal_new ("single-arg-signal-ay", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_STRING); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-as: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_as: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 612s # g_signal_new ("single-arg-signal-as", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_STRV); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-ao: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_ao: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 612s # g_signal_new ("single-arg-signal-ao", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_STRV); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-aay: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_aay: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 612s # g_signal_new ("single-arg-signal-aay", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_STRV); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-asv: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_asv: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 612s # g_signal_new ("single-arg-signal-asv", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_VARIANT); 612s # 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_no_arg_signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * Emits the "NoArgSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_no_arg_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_b: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_b: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalB" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_b ( 612s # OrgProjectSignalingIface *object, 612s # gboolean arg_an_b) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_y: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_y: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalY" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_y ( 612s # OrgProjectSignalingIface *object, 612s # guchar arg_an_y) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_n: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_n: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalN" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_n ( 612s # OrgProjectSignalingIface *object, 612s # gint16 arg_an_n) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_q: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_q: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalQ" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_q ( 612s # OrgProjectSignalingIface *object, 612s # guint16 arg_an_q) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_i: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_i: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalI" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_i ( 612s # OrgProjectSignalingIface *object, 612s # gint arg_an_i) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_u: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_u: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalU" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_u ( 612s # OrgProjectSignalingIface *object, 612s # guint arg_an_u) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_x: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_x: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalX" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_x ( 612s # OrgProjectSignalingIface *object, 612s # gint64 arg_an_x) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_t: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_t: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalT" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_t ( 612s # OrgProjectSignalingIface *object, 612s # guint64 arg_an_t) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_d: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_d: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalD" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_d ( 612s # OrgProjectSignalingIface *object, 612s # gdouble arg_an_d) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_s: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_s: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalS" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_s ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_s) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_o: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_o: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalO" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_o ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_o) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_g: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_g: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalG" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_g ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_g) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_h: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_h: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalH" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_h ( 612s # OrgProjectSignalingIface *object, 612s # GVariant *arg_an_h) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_ay: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_ay: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalAY" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_ay ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_ay) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_as: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_as: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalAS" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_as ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *const *arg_an_as) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_ao: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_ao: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalAO" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_ao ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *const *arg_an_ao) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_aay: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_aay: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalAAY" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_aay ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *const *arg_an_aay) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_asv: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_an_asv: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalASV" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_asv ( 612s # OrgProjectSignalingIface *object, 612s # GVariant *arg_an_asv) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_signaling_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 612s # { 612s # _org_project_signaling_iface_skeleton_handle_method_call, 612s # _org_project_signaling_iface_skeleton_handle_get_property, 612s # _org_project_signaling_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_signaling_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_no_arg_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 612s # OrgProjectSignalingIface *object, 612s # gboolean arg_an_b) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 612s # arg_an_b)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 612s # OrgProjectSignalingIface *object, 612s # guchar arg_an_y) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 612s # arg_an_y)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 612s # OrgProjectSignalingIface *object, 612s # gint16 arg_an_n) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 612s # arg_an_n)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 612s # OrgProjectSignalingIface *object, 612s # guint16 arg_an_q) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 612s # arg_an_q)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 612s # OrgProjectSignalingIface *object, 612s # gint arg_an_i) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 612s # arg_an_i)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 612s # OrgProjectSignalingIface *object, 612s # guint arg_an_u) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 612s # arg_an_u)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 612s # OrgProjectSignalingIface *object, 612s # gint64 arg_an_x) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 612s # arg_an_x)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 612s # OrgProjectSignalingIface *object, 612s # guint64 arg_an_t) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 612s # arg_an_t)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 612s # OrgProjectSignalingIface *object, 612s # gdouble arg_an_d) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 612s # arg_an_d)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_s) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 612s # arg_an_s)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_o) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 612s # arg_an_o)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_g) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 612s # arg_an_g)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 612s # OrgProjectSignalingIface *object, 612s # GVariant *arg_an_h) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 612s # arg_an_h)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *arg_an_ay) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 612s # arg_an_ay)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *const *arg_an_as) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 612s # arg_an_as)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *const *arg_an_ao) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 612s # arg_an_ao)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 612s # OrgProjectSignalingIface *object, 612s # const gchar *const *arg_an_aay) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 612s # arg_an_aay)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 612s # OrgProjectSignalingIface *object, 612s # GVariant *arg_an_asv) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 612s # arg_an_asv)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 612s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 612s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 612s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 612s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 612s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 612s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 612s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 612s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 612s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 612s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 612s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 612s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 612s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 612s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 612s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 612s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 612s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 612s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmpcth1o5b_ 612s # /tmp/tmpcth1o5b_/tmp17com1xu.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcth1o5b_/tmp17com1xu.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.UsefulInterface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectUsefulInterface 612s # * @title: OrgProjectUsefulInterface 612s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 612s # { 612s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.UsefulInterface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-useful-interface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_useful_interface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_useful_interface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_useful_interface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectUsefulInterface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 612s # */ 612s # 612s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectUsefulInterface::simple-signal: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_useful_interface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_emit_simple_signal: 612s # * @object: A #OrgProjectUsefulInterface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_useful_interface_emit_simple_signal ( 612s # OrgProjectUsefulInterface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxy: 612s # * 612s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 612s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 612s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_useful_interface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # g_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); 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeleton: 612s # * 612s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectUsefulInterfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_useful_interface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_useful_interface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_useful_interface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 612s # { 612s # _org_project_useful_interface_skeleton_handle_method_call, 612s # _org_project_useful_interface_skeleton_handle_get_property, 612s # _org_project_useful_interface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_useful_interface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_useful_interface_on_signal_simple_signal ( 612s # OrgProjectUsefulInterface *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_useful_interface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 612s # { 612s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 612s # } 612s # 612s # /** 612s # * org_project_useful_interface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectUsefulInterface * 612s # org_project_useful_interface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.OtherIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectOtherIface 612s # * @title: OrgProjectOtherIface 612s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.OtherIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.OtherIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-other-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_other_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_other_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_other_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_other_iface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectOtherIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.OtherIface. 612s # */ 612s # 612s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectOtherIface::simple-signal: 612s # * @object: A #OrgProjectOtherIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_other_iface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # } 612s # 612s # /** 612s # * org_project_other_iface_emit_simple_signal: 612s # * @object: A #OrgProjectOtherIface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_other_iface_emit_simple_signal ( 612s # OrgProjectOtherIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectOtherIfaceProxy: 612s # * 612s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectOtherIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectOtherIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_other_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_other_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_other_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_other_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_other_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherIface * 612s # org_project_other_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherIface * 612s # org_project_other_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_other_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_other_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_other_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherIface * 612s # org_project_other_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherIface * 612s # org_project_other_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectOtherIfaceSkeleton: 612s # * 612s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectOtherIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectOtherIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_other_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_other_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_other_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 612s # { 612s # _org_project_other_iface_skeleton_handle_method_call, 612s # _org_project_other_iface_skeleton_handle_get_property, 612s # _org_project_other_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_other_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_other_iface_on_signal_simple_signal ( 612s # OrgProjectOtherIface *object) 612s # { 612s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_other_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 612s # { 612s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 612s # } 612s # 612s # /** 612s # * org_project_other_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectOtherIface * 612s # org_project_other_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmp77e7h99x 612s # /tmp/tmp77e7h99x/tmpq57vw96q.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp77e7h99x/tmpq57vw96q.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.SignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectSignalingIface 612s # * @title: OrgProjectSignalingIface 612s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.SignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.SignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectSignalingIface::simple-signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_simple_signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_signaling_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 612s # { 612s # _org_project_signaling_iface_skeleton_handle_method_call, 612s # _org_project_signaling_iface_skeleton_handle_get_property, 612s # _org_project_signaling_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_signaling_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.OtherSignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectOtherSignalingIface 612s # * @title: OrgProjectOtherSignalingIface 612s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.OtherSignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-other-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_other_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_other_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectOtherSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 612s # */ 612s # 612s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectOtherSignalingIface::simple-signal: 612s # * @object: A #OrgProjectOtherSignalingIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_other_signaling_iface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_emit_simple_signal: 612s # * @object: A #OrgProjectOtherSignalingIface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_other_signaling_iface_emit_simple_signal ( 612s # OrgProjectOtherSignalingIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectOtherSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_other_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherSignalingIface * 612s # org_project_other_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherSignalingIface * 612s # org_project_other_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_other_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_other_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherSignalingIface * 612s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectOtherSignalingIface * 612s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectOtherSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectOtherSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 612s # { 612s # _org_project_other_signaling_iface_skeleton_handle_method_call, 612s # _org_project_other_signaling_iface_skeleton_handle_get_property, 612s # _org_project_other_signaling_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_other_signaling_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_other_signaling_iface_on_signal_simple_signal ( 612s # OrgProjectOtherSignalingIface *object) 612s # { 612s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 612s # { 612s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 612s # } 612s # 612s # /** 612s # * org_project_other_signaling_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectOtherSignalingIface * 612s # org_project_other_signaling_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 612s # gdbus-codegen: /usr/bin/gdbus-codegen 612s # tmpdir: /tmp/tmphmxtb950 612s # /tmp/tmphmxtb950/tmphy80bdle.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmphy80bdle.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.SignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectSignalingIface 612s # * @title: OrgProjectSignalingIface 612s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.SignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_b", 612s # (gchar *) "b", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalB", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-b" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.SignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__BOOLEAN (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 612s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectSignalingIface::simple-signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-b: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_b: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 612s # g_signal_new ("single-arg-signal-b", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_BOOLEAN); 612s # 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_simple_signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_b: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_b: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalB" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_b ( 612s # OrgProjectSignalingIface *object, 612s # gboolean arg_arg_b) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_signaling_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 612s # { 612s # _org_project_signaling_iface_skeleton_handle_method_call, 612s # _org_project_signaling_iface_skeleton_handle_get_property, 612s # _org_project_signaling_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_signaling_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 612s # OrgProjectSignalingIface *object, 612s # gboolean arg_arg_b) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 612s # arg_arg_b)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 612s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmphmxtb950/tmp6c1t7oll.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmp6c1t7oll.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.SignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectSignalingIface 612s # * @title: OrgProjectSignalingIface 612s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.SignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_y", 612s # (gchar *) "y", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalY", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-y" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.SignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__UCHAR (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 612s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectSignalingIface::simple-signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-y: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_y: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 612s # g_signal_new ("single-arg-signal-y", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_UCHAR); 612s # 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_simple_signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_y: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_y: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalY" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_y ( 612s # OrgProjectSignalingIface *object, 612s # guchar arg_arg_y) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_signaling_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 612s # { 612s # _org_project_signaling_iface_skeleton_handle_method_call, 612s # _org_project_signaling_iface_skeleton_handle_get_property, 612s # _org_project_signaling_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_signaling_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 612s # OrgProjectSignalingIface *object, 612s # guchar arg_arg_y) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 612s # arg_arg_y)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 612s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmphmxtb950/tmpb605dgxf.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpb605dgxf.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.SignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectSignalingIface 612s # * @title: OrgProjectSignalingIface 612s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.SignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_n", 612s # (gchar *) "n", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalN", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-n" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.SignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__INT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 612s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectSignalingIface::simple-signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-n: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_n: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 612s # g_signal_new ("single-arg-signal-n", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_INT); 612s # 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_simple_signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_n: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_n: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalN" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_n ( 612s # OrgProjectSignalingIface *object, 612s # gint16 arg_arg_n) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _org_project_signaling_iface_skeleton_handle_set_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GVariant *variant, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # gboolean ret; 612s # ret = FALSE; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # if (info->use_gvariant) 612s # g_value_set_variant (&value, variant); 612s # else 612s # g_dbus_gvariant_to_gvalue (variant, &value); 612s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # g_value_unset (&value); 612s # ret = TRUE; 612s # } 612s # return ret; 612s # } 612s # 612s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 612s # { 612s # _org_project_signaling_iface_skeleton_handle_method_call, 612s # _org_project_signaling_iface_skeleton_handle_get_property, 612s # _org_project_signaling_iface_skeleton_handle_set_property, 612s # {NULL} 612s # }; 612s # 612s # static GDBusInterfaceInfo * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return org_project_signaling_iface_interface_info (); 612s # } 612s # 612s # static GDBusInterfaceVTable * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 612s # { 612s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 612s # } 612s # 612s # static GVariant * 612s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 612s # 612s # GVariantBuilder builder; 612s # guint n; 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 612s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #else 612s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 612s # #endif 612s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 612s # goto out; 612s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 612s # { 612s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 612s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 612s # { 612s # GVariant *value; 612s # 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); 612s # if (value != NULL) 612s # { 612s # g_variant_take_ref (value); 612s # g_variant_builder_add (&builder, "{sv}", info->name, value); 612s # g_variant_unref (value); 612s # } 612s # } 612s # } 612s # out: 612s # return g_variant_builder_end (&builder); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void 612s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 612s # OrgProjectSignalingIface *object, 612s # gint16 arg_arg_n) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # 612s # GList *connections, *l; 612s # GVariant *signal_variant; 612s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 612s # 612s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 612s # arg_arg_n)); 612s # for (l = connections; l != NULL; l = l->next) 612s # { 612s # GDBusConnection *connection = l->data; 612s # g_dbus_connection_emit_signal (connection, 612s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 612s # signal_variant, NULL); 612s # } 612s # g_variant_unref (signal_variant); 612s # g_list_free_full (connections, g_object_unref); 612s # } 612s # 612s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_skeleton_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 612s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 612s # if (skeleton->priv->changed_properties_idle_source != NULL) 612s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 612s # g_main_context_unref (skeleton->priv->context); 612s # g_mutex_clear (&skeleton->priv->lock); 612s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 612s # #else 612s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 612s # #endif 612s # 612s # g_mutex_init (&skeleton->priv->lock); 612s # skeleton->priv->context = g_main_context_ref_thread_default (); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusInterfaceSkeletonClass *skeleton_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 612s # 612s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 612s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 612s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 612s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 612s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 612s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_skeleton_new: 612s # * 612s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_skeleton_new (void) 612s # { 612s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 612s # } 612s # Error: 612s # 612s # /tmp/tmphmxtb950/tmpq3n_77dm.xml: 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # 612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpq3n_77dm.xml', '--output', '-', '--body'] 612s # Return code: 0 612s # Output: 612s # /* 612s # * This file is generated by gdbus-codegen, do not modify it. 612s # * 612s # * The license of this code is the same as for the D-Bus interface description 612s # * it was derived from. Note that it links to GLib, so must comply with the 612s # * LGPL linking clauses. 612s # */ 612s # 612s # #ifdef HAVE_CONFIG_H 612s # # include "config.h" 612s # #endif 612s # 612s # #include 612s # #ifdef G_OS_UNIX 612s # # include 612s # #endif 612s # 612s # #ifdef G_ENABLE_DEBUG 612s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 612s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 612s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 612s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 612s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 612s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 612s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 612s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 612s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 612s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 612s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 612s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 612s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 612s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 612s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 612s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 612s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 612s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 612s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 612s # #else /* !G_ENABLE_DEBUG */ 612s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 612s # * Do not access GValues directly in your code. Instead, use the 612s # * g_value_get_*() functions 612s # */ 612s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 612s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 612s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 612s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 612s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 612s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 612s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 612s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 612s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 612s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 612s # #endif /* !G_ENABLE_DEBUG */ 612s # 612s # typedef struct 612s # { 612s # GDBusArgInfo parent_struct; 612s # gboolean use_gvariant; 612s # } _ExtendedGDBusArgInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusMethodInfo parent_struct; 612s # const gchar *signal_name; 612s # gboolean pass_fdlist; 612s # } _ExtendedGDBusMethodInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusSignalInfo parent_struct; 612s # const gchar *signal_name; 612s # } _ExtendedGDBusSignalInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusPropertyInfo parent_struct; 612s # const gchar *hyphen_name; 612s # guint use_gvariant : 1; 612s # guint emits_changed_signal : 1; 612s # } _ExtendedGDBusPropertyInfo; 612s # 612s # typedef struct 612s # { 612s # GDBusInterfaceInfo parent_struct; 612s # const gchar *hyphen_name; 612s # } _ExtendedGDBusInterfaceInfo; 612s # 612s # typedef struct 612s # { 612s # const _ExtendedGDBusPropertyInfo *info; 612s # guint prop_id; 612s # GValue orig_value; /* the value before the change */ 612s # } ChangedProperty; 612s # 612s # static void 612s # _changed_property_free (ChangedProperty *data) 612s # { 612s # g_value_unset (&data->orig_value); 612s # g_free (data); 612s # } 612s # 612s # static gboolean 612s # _g_strv_equal0 (gchar **a, gchar **b) 612s # { 612s # gboolean ret = FALSE; 612s # guint n; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # if (g_strv_length (a) != g_strv_length (b)) 612s # goto out; 612s # for (n = 0; a[n] != NULL; n++) 612s # if (g_strcmp0 (a[n], b[n]) != 0) 612s # goto out; 612s # ret = TRUE; 612s # out: 612s # return ret; 612s # } 612s # 612s # static gboolean 612s # _g_variant_equal0 (GVariant *a, GVariant *b) 612s # { 612s # gboolean ret = FALSE; 612s # if (a == NULL && b == NULL) 612s # { 612s # ret = TRUE; 612s # goto out; 612s # } 612s # if (a == NULL || b == NULL) 612s # goto out; 612s # ret = g_variant_equal (a, b); 612s # out: 612s # return ret; 612s # } 612s # 612s # G_GNUC_UNUSED static gboolean 612s # _g_value_equal (const GValue *a, const GValue *b) 612s # { 612s # gboolean ret = FALSE; 612s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 612s # switch (G_VALUE_TYPE (a)) 612s # { 612s # case G_TYPE_BOOLEAN: 612s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 612s # break; 612s # case G_TYPE_UCHAR: 612s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 612s # break; 612s # case G_TYPE_INT: 612s # ret = (g_value_get_int (a) == g_value_get_int (b)); 612s # break; 612s # case G_TYPE_UINT: 612s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 612s # break; 612s # case G_TYPE_INT64: 612s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 612s # break; 612s # case G_TYPE_UINT64: 612s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 612s # break; 612s # case G_TYPE_DOUBLE: 612s # { 612s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 612s # gdouble da = g_value_get_double (a); 612s # gdouble db = g_value_get_double (b); 612s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 612s # } 612s # break; 612s # case G_TYPE_STRING: 612s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 612s # break; 612s # case G_TYPE_VARIANT: 612s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 612s # break; 612s # default: 612s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 612s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 612s # else 612s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 612s # break; 612s # } 612s # return ret; 612s # } 612s # 612s # /* ------------------------------------------------------------------------ 612s # * Code for interface org.project.SignalingIface 612s # * ------------------------------------------------------------------------ 612s # */ 612s # 612s # /** 612s # * SECTION:OrgProjectSignalingIface 612s # * @title: OrgProjectSignalingIface 612s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 612s # * 612s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 612s # */ 612s # 612s # enum 612s # { 612s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 612s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 612s # }; 612s # 612s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 612s # 612s # /* ---- Introspection data for org.project.SignalingIface ---- */ 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SimpleSignal", 612s # NULL, 612s # NULL 612s # }, 612s # "simple-signal" 612s # }; 612s # 612s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "arg_q", 612s # (gchar *) "q", 612s # NULL 612s # }, 612s # FALSE 612s # }; 612s # 612s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 612s # { 612s # { 612s # -1, 612s # (gchar *) "SingleArgSignalQ", 612s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 612s # NULL 612s # }, 612s # "single-arg-signal-q" 612s # }; 612s # 612s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 612s # { 612s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 612s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 612s # NULL 612s # }; 612s # 612s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 612s # { 612s # { 612s # -1, 612s # (gchar *) "org.project.SignalingIface", 612s # NULL, 612s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 612s # NULL, 612s # NULL 612s # }, 612s # "org-project-signaling-iface", 612s # }; 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_interface_info: 612s # * 612s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 612s # * 612s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 612s # */ 612s # GDBusInterfaceInfo * 612s # org_project_signaling_iface_interface_info (void) 612s # { 612s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_override_properties: 612s # * @klass: The class structure for a #GObject derived class. 612s # * @property_id_begin: The property id to assign to the first overridden property. 612s # * 612s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 612s # * The properties are overridden in the order they are defined. 612s # * 612s # * Returns: The last property id. 612s # */ 612s # guint 612s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 612s # { 612s # return property_id_begin - 1; 612s # } 612s # 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_simple_signal ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__VOID (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # inline static void 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 612s # GClosure *closure, 612s # GValue *return_value, 612s # unsigned int n_param_values, 612s # const GValue *param_values, 612s # void *invocation_hint, 612s # void *marshal_data) 612s # { 612s # g_cclosure_marshal_VOID__UINT (closure, 612s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 612s # } 612s # 612s # 612s # /** 612s # * OrgProjectSignalingIface: 612s # * 612s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceIface: 612s # * @parent_iface: The parent interface. 612s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 612s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 612s # * 612s # * Virtual table for the D-Bus interface org.project.SignalingIface. 612s # */ 612s # 612s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 612s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 612s # 612s # static void 612s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 612s # { 612s # /* GObject signals for received D-Bus signals: */ 612s # /** 612s # * OrgProjectSignalingIface::simple-signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 612s # g_signal_new ("simple-signal", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_simple_signal, 612s # G_TYPE_NONE, 612s # 0); 612s # 612s # /** 612s # * OrgProjectSignalingIface::single-arg-signal-q: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_q: Argument. 612s # * 612s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 612s # * 612s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 612s # */ 612s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 612s # g_signal_new ("single-arg-signal-q", 612s # G_TYPE_FROM_INTERFACE (iface), 612s # G_SIGNAL_RUN_LAST, 612s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 612s # NULL, 612s # NULL, 612s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 612s # G_TYPE_NONE, 612s # 1, G_TYPE_UINT); 612s # 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_simple_signal: 612s # * @object: A #OrgProjectSignalingIface. 612s # * 612s # * Emits the "SimpleSignal" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_simple_signal ( 612s # OrgProjectSignalingIface *object) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_emit_single_arg_signal_q: 612s # * @object: A #OrgProjectSignalingIface. 612s # * @arg_arg_q: Argument to pass with the signal. 612s # * 612s # * Emits the "SingleArgSignalQ" D-Bus signal. 612s # */ 612s # void 612s # org_project_signaling_iface_emit_single_arg_signal_q ( 612s # OrgProjectSignalingIface *object, 612s # guint16 arg_arg_q) 612s # { 612s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 612s # } 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxy: 612s # * 612s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceProxyClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceProxy. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceProxyPrivate 612s # { 612s # GData *qdata; 612s # }; 612s # 612s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #else 612s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 612s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 612s # 612s # #endif 612s # static void 612s # org_project_signaling_iface_proxy_finalize (GObject *object) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 612s # g_datalist_clear (&proxy->priv->qdata); 612s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 612s # guint prop_id G_GNUC_UNUSED, 612s # const GValue *value G_GNUC_UNUSED, 612s # GParamSpec *pspec G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 612s # const gchar *sender_name G_GNUC_UNUSED, 612s # const gchar *signal_name, 612s # GVariant *parameters) 612s # { 612s # _ExtendedGDBusSignalInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # gsize n; 612s # guint signal_id; 612s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 612s # if (info == NULL) 612s # return; 612s # num_params = g_variant_n_children (parameters); 612s # paramv = g_new0 (GValue, num_params + 1); 612s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[0], proxy); 612s # g_variant_iter_init (&iter, parameters); 612s # n = 1; 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_signal_emitv (paramv, signal_id, 0, NULL); 612s # for (n = 0; n < num_params + 1; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 612s # GVariant *changed_properties, 612s # const gchar *const *invalidated_properties) 612s # { 612s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 612s # guint n; 612s # const gchar *key; 612s # GVariantIter *iter; 612s # _ExtendedGDBusPropertyInfo *info; 612s # g_variant_get (changed_properties, "a{sv}", &iter); 612s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 612s # g_datalist_remove_data (&proxy->priv->qdata, key); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # g_variant_iter_free (iter); 612s # for (n = 0; invalidated_properties[n] != NULL; n++) 612s # { 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 612s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 612s # if (info != NULL) 612s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 612s # } 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 612s # { 612s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 612s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 612s # #else 612s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 612s # #endif 612s # 612s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 612s # { 612s # GObjectClass *gobject_class; 612s # GDBusProxyClass *proxy_class; 612s # 612s # gobject_class = G_OBJECT_CLASS (klass); 612s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 612s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 612s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 612s # 612s # proxy_class = G_DBUS_PROXY_CLASS (klass); 612s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 612s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 612s # 612s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 612s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 612s # #endif 612s # } 612s # 612s # static void 612s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 612s # { 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_sync: 612s # * @connection: A #GDBusConnection. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_sync ( 612s # GDBusConnection *connection, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 612s # * @user_data: User data to pass to @callback. 612s # * 612s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 612s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 612s # */ 612s # void 612s # org_project_signaling_iface_proxy_new_for_bus ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GAsyncReadyCallback callback, 612s # gpointer user_data) 612s # { 612s # 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); 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_finish: 612s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 612s # * @error: Return location for error or %NULL 612s # * 612s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_finish ( 612s # GAsyncResult *res, 612s # GError **error) 612s # { 612s # GObject *ret; 612s # GObject *source_object; 612s # source_object = g_async_result_get_source_object (res); 612s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 612s # g_object_unref (source_object); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # /** 612s # * org_project_signaling_iface_proxy_new_for_bus_sync: 612s # * @bus_type: A #GBusType. 612s # * @flags: Flags from the #GDBusProxyFlags enumeration. 612s # * @name: A bus name (well-known or unique). 612s # * @object_path: An object path. 612s # * @cancellable: (nullable): A #GCancellable or %NULL. 612s # * @error: Return location for error or %NULL 612s # * 612s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 612s # * 612s # * The calling thread is blocked until a reply is received. 612s # * 612s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 612s # * 612s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 612s # */ 612s # OrgProjectSignalingIface * 612s # org_project_signaling_iface_proxy_new_for_bus_sync ( 612s # GBusType bus_type, 612s # GDBusProxyFlags flags, 612s # const gchar *name, 612s # const gchar *object_path, 612s # GCancellable *cancellable, 612s # GError **error) 612s # { 612s # GInitable *ret; 612s # 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); 612s # if (ret != NULL) 612s # return ORG_PROJECT_SIGNALING_IFACE (ret); 612s # else 612s # return NULL; 612s # } 612s # 612s # 612s # /* ------------------------------------------------------------------------ */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeleton: 612s # * 612s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 612s # */ 612s # 612s # /** 612s # * OrgProjectSignalingIfaceSkeletonClass: 612s # * @parent_class: The parent class. 612s # * 612s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 612s # */ 612s # 612s # struct _OrgProjectSignalingIfaceSkeletonPrivate 612s # { 612s # GValue *properties; 612s # GList *changed_properties; 612s # GSource *changed_properties_idle_source; 612s # GMainContext *context; 612s # GMutex lock; 612s # }; 612s # 612s # static void 612s # _org_project_signaling_iface_skeleton_handle_method_call ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name, 612s # const gchar *method_name, 612s # GVariant *parameters, 612s # GDBusMethodInvocation *invocation, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # _ExtendedGDBusMethodInfo *info; 612s # GVariantIter iter; 612s # GVariant *child; 612s # GValue *paramv; 612s # gsize num_params; 612s # guint num_extra; 612s # gsize n; 612s # guint signal_id; 612s # GValue return_value = G_VALUE_INIT; 612s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 612s # g_assert (info != NULL); 612s # num_params = g_variant_n_children (parameters); 612s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 612s # n = 0; 612s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_set_object (¶mv[n++], skeleton); 612s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 612s # g_value_set_object (¶mv[n++], invocation); 612s # if (info->pass_fdlist) 612s # { 612s # #ifdef G_OS_UNIX 612s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 612s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 612s # #else 612s # g_assert_not_reached (); 612s # #endif 612s # } 612s # g_variant_iter_init (&iter, parameters); 612s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 612s # { 612s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 612s # if (arg_info->use_gvariant) 612s # { 612s # g_value_init (¶mv[n], G_TYPE_VARIANT); 612s # g_value_set_variant (¶mv[n], child); 612s # n++; 612s # } 612s # else 612s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 612s # g_variant_unref (child); 612s # } 612s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 612s # g_value_init (&return_value, G_TYPE_BOOLEAN); 612s # g_signal_emitv (paramv, signal_id, 0, &return_value); 612s # if (!g_value_get_boolean (&return_value)) 612s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 612s # g_value_unset (&return_value); 612s # for (n = 0; n < num_params + num_extra; n++) 612s # g_value_unset (¶mv[n]); 612s # g_free (paramv); 612s # } 612s # 612s # static GVariant * 612s # _org_project_signaling_iface_skeleton_handle_get_property ( 612s # GDBusConnection *connection G_GNUC_UNUSED, 612s # const gchar *sender G_GNUC_UNUSED, 612s # const gchar *object_path G_GNUC_UNUSED, 612s # const gchar *interface_name G_GNUC_UNUSED, 612s # const gchar *property_name, 612s # GError **error, 612s # gpointer user_data) 612s # { 612s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 612s # GValue value = G_VALUE_INIT; 612s # GParamSpec *pspec; 612s # _ExtendedGDBusPropertyInfo *info; 612s # GVariant *ret; 612s # ret = NULL; 612s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 612s # g_assert (info != NULL); 612s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 612s # if (pspec == NULL) 612s # { 612s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 612s # } 612s # else 612s # { 612s # g_value_init (&value, pspec->value_type); 612s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 612s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 612s # g_value_unset (&value); 612s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 613s # OrgProjectSignalingIface *object, 613s # guint16 arg_arg_q) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 613s # arg_arg_q)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpwj2o9tw2.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpwj2o9tw2.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_i", 613s # (gchar *) "i", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalI", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-i" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__INT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-i: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_i: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 613s # g_signal_new ("single-arg-signal-i", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_INT); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_i: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_i: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalI" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_i ( 613s # OrgProjectSignalingIface *object, 613s # gint arg_arg_i) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 613s # OrgProjectSignalingIface *object, 613s # gint arg_arg_i) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 613s # arg_arg_i)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpbecwl4ph.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpbecwl4ph.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_u", 613s # (gchar *) "u", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalU", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-u" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__UINT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-u: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_u: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 613s # g_signal_new ("single-arg-signal-u", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_UINT); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_u: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_u: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalU" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_u ( 613s # OrgProjectSignalingIface *object, 613s # guint arg_arg_u) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 613s # OrgProjectSignalingIface *object, 613s # guint arg_arg_u) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 613s # arg_arg_u)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpbo4ztzmd.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpbo4ztzmd.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # static void 613s # _g_dbus_codegen_marshal_VOID__INT64 ( 613s # GClosure *closure, 613s # GValue *return_value G_GNUC_UNUSED, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint G_GNUC_UNUSED, 613s # void *marshal_data) 613s # { 613s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 613s # (void *data1, 613s # gint64 arg_arg_x, 613s # void *data2); 613s # _GDbusCodegenMarshalVoid_Int64Func callback; 613s # GCClosure *cc = (GCClosure*) closure; 613s # void *data1, *data2; 613s # 613s # g_return_if_fail (n_param_values == 2); 613s # 613s # if (G_CCLOSURE_SWAP_DATA (closure)) 613s # { 613s # data1 = closure->data; 613s # data2 = g_value_peek_pointer (param_values + 0); 613s # } 613s # else 613s # { 613s # data1 = g_value_peek_pointer (param_values + 0); 613s # data2 = closure->data; 613s # } 613s # 613s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 613s # (marshal_data ? marshal_data : cc->callback); 613s # 613s # callback (data1, 613s # g_marshal_value_peek_int64 (param_values + 1), 613s # data2); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_x", 613s # (gchar *) "x", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalX", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-x" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-x: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_x: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 613s # g_signal_new ("single-arg-signal-x", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_INT64); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_x: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_x: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalX" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_x ( 613s # OrgProjectSignalingIface *object, 613s # gint64 arg_arg_x) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 613s # OrgProjectSignalingIface *object, 613s # gint64 arg_arg_x) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 613s # arg_arg_x)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmp5fgs87ch.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmp5fgs87ch.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # static void 613s # _g_dbus_codegen_marshal_VOID__UINT64 ( 613s # GClosure *closure, 613s # GValue *return_value G_GNUC_UNUSED, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint G_GNUC_UNUSED, 613s # void *marshal_data) 613s # { 613s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 613s # (void *data1, 613s # guint64 arg_arg_t, 613s # void *data2); 613s # _GDbusCodegenMarshalVoid_Uint64Func callback; 613s # GCClosure *cc = (GCClosure*) closure; 613s # void *data1, *data2; 613s # 613s # g_return_if_fail (n_param_values == 2); 613s # 613s # if (G_CCLOSURE_SWAP_DATA (closure)) 613s # { 613s # data1 = closure->data; 613s # data2 = g_value_peek_pointer (param_values + 0); 613s # } 613s # else 613s # { 613s # data1 = g_value_peek_pointer (param_values + 0); 613s # data2 = closure->data; 613s # } 613s # 613s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 613s # (marshal_data ? marshal_data : cc->callback); 613s # 613s # callback (data1, 613s # g_marshal_value_peek_uint64 (param_values + 1), 613s # data2); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_t", 613s # (gchar *) "t", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalT", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-t" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-t: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_t: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 613s # g_signal_new ("single-arg-signal-t", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_UINT64); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_t: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_t: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalT" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_t ( 613s # OrgProjectSignalingIface *object, 613s # guint64 arg_arg_t) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 613s # OrgProjectSignalingIface *object, 613s # guint64 arg_arg_t) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 613s # arg_arg_t)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpxfgregsn.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpxfgregsn.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_d", 613s # (gchar *) "d", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalD", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-d" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__DOUBLE (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-d: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_d: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 613s # g_signal_new ("single-arg-signal-d", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_DOUBLE); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_d: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_d: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalD" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_d ( 613s # OrgProjectSignalingIface *object, 613s # gdouble arg_arg_d) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 613s # OrgProjectSignalingIface *object, 613s # gdouble arg_arg_d) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 613s # arg_arg_d)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpeo_ain87.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpeo_ain87.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_s", 613s # (gchar *) "s", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalS", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-s" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__STRING (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-s: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_s: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 613s # g_signal_new ("single-arg-signal-s", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_STRING); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_s: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_s: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalS" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_s ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_s) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_s) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 613s # arg_arg_s)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpkra78d0m.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpkra78d0m.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_o", 613s # (gchar *) "o", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalO", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-o" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__STRING (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-o: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_o: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 613s # g_signal_new ("single-arg-signal-o", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_STRING); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_o: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_o: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalO" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_o ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_o) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_o) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 613s # arg_arg_o)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmp8dhpmxqv.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmp8dhpmxqv.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_g", 613s # (gchar *) "g", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalG", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-g" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__STRING (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-g: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_g: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 613s # g_signal_new ("single-arg-signal-g", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_STRING); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_g: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_g: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalG" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_g ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_g) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_g) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 613s # arg_arg_g)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpd6mb9hgb.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpd6mb9hgb.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_h", 613s # (gchar *) "h", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalH", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-h" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VARIANT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-h: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_h: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 613s # g_signal_new ("single-arg-signal-h", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_VARIANT); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_h: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_h: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalH" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_h ( 613s # OrgProjectSignalingIface *object, 613s # GVariant *arg_arg_h) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 613s # OrgProjectSignalingIface *object, 613s # GVariant *arg_arg_h) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 613s # arg_arg_h)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpzp7hd3ii.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpzp7hd3ii.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_ay", 613s # (gchar *) "ay", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalAy", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-ay" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__STRING (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-ay: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_ay: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 613s # g_signal_new ("single-arg-signal-ay", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_STRING); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_ay: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_ay: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalAy" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_ay ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_ay) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *arg_arg_ay) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 613s # arg_arg_ay)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpi5fg487u.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpi5fg487u.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_as", 613s # (gchar *) "as", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalAs", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-as" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__BOXED (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-as: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_as: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 613s # g_signal_new ("single-arg-signal-as", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_STRV); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_as: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_as: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalAs" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_as ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *const *arg_arg_as) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *const *arg_arg_as) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 613s # arg_arg_as)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpokt8epv2.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpokt8epv2.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_ao", 613s # (gchar *) "ao", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalAo", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-ao" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__BOXED (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-ao: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_ao: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 613s # g_signal_new ("single-arg-signal-ao", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_STRV); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_ao: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_ao: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalAo" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_ao ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *const *arg_arg_ao) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *const *arg_arg_ao) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 613s # arg_arg_ao)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpzrughkxz.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpzrughkxz.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_aay", 613s # (gchar *) "aay", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalAay", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-aay" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__BOXED (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-aay: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_aay: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 613s # g_signal_new ("single-arg-signal-aay", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_STRV); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_aay: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_aay: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalAay" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_aay ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *const *arg_arg_aay) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 613s # OrgProjectSignalingIface *object, 613s # const gchar *const *arg_arg_aay) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 613s # arg_arg_aay)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # /tmp/tmphmxtb950/tmpeayhv_jf.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxtb950/tmpeayhv_jf.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 613s # { 613s # { 613s # -1, 613s # (gchar *) "arg_asv", 613s # (gchar *) "a{sv}", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SingleArgSignalAsv", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 613s # NULL 613s # }, 613s # "single-arg-signal-asv" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VARIANT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::single-arg-signal-asv: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_asv: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 613s # g_signal_new ("single-arg-signal-asv", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 613s # G_TYPE_NONE, 613s # 1, G_TYPE_VARIANT); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_single_arg_signal_asv: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_arg_asv: Argument to pass with the signal. 613s # * 613s # * Emits the "SingleArgSignalAsv" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_single_arg_signal_asv ( 613s # OrgProjectSignalingIface *object, 613s # GVariant *arg_arg_asv) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 613s # OrgProjectSignalingIface *object, 613s # GVariant *arg_arg_asv) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 613s # arg_arg_asv)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpbz__4lsx 613s # /tmp/tmpbz__4lsx/tmp0fsnuia1.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbz__4lsx/tmp0fsnuia1.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # static void 613s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 613s # GClosure *closure, 613s # GValue *return_value G_GNUC_UNUSED, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint G_GNUC_UNUSED, 613s # void *marshal_data) 613s # { 613s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 613s # (void *data1, 613s # gboolean arg_an_b, 613s # guchar arg_an_y, 613s # gint16 arg_an_n, 613s # guint16 arg_an_q, 613s # gint arg_an_i, 613s # guint arg_an_u, 613s # gint64 arg_an_x, 613s # guint64 arg_an_t, 613s # gdouble arg_an_d, 613s # const gchar *arg_an_s, 613s # const gchar *arg_an_o, 613s # const gchar *arg_an_g, 613s # GVariant *arg_an_h, 613s # const gchar *arg_an_ay, 613s # const gchar *const *arg_an_as, 613s # const gchar *const *arg_an_ao, 613s # const gchar *const *arg_an_aay, 613s # GVariant *arg_an_asv, 613s # void *data2); 613s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 613s # GCClosure *cc = (GCClosure*) closure; 613s # void *data1, *data2; 613s # 613s # g_return_if_fail (n_param_values == 19); 613s # 613s # if (G_CCLOSURE_SWAP_DATA (closure)) 613s # { 613s # data1 = closure->data; 613s # data2 = g_value_peek_pointer (param_values + 0); 613s # } 613s # else 613s # { 613s # data1 = g_value_peek_pointer (param_values + 0); 613s # data2 = closure->data; 613s # } 613s # 613s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 613s # (marshal_data ? marshal_data : cc->callback); 613s # 613s # callback (data1, 613s # g_marshal_value_peek_boolean (param_values + 1), 613s # g_marshal_value_peek_uchar (param_values + 2), 613s # g_marshal_value_peek_int (param_values + 3), 613s # g_marshal_value_peek_uint (param_values + 4), 613s # g_marshal_value_peek_int (param_values + 5), 613s # g_marshal_value_peek_uint (param_values + 6), 613s # g_marshal_value_peek_int64 (param_values + 7), 613s # g_marshal_value_peek_uint64 (param_values + 8), 613s # g_marshal_value_peek_double (param_values + 9), 613s # g_marshal_value_peek_string (param_values + 10), 613s # g_marshal_value_peek_string (param_values + 11), 613s # g_marshal_value_peek_string (param_values + 12), 613s # g_marshal_value_peek_variant (param_values + 13), 613s # g_marshal_value_peek_string (param_values + 14), 613s # g_marshal_value_peek_boxed (param_values + 15), 613s # g_marshal_value_peek_boxed (param_values + 16), 613s # g_marshal_value_peek_boxed (param_values + 17), 613s # g_marshal_value_peek_variant (param_values + 18), 613s # data2); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.SignalingIface 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectSignalingIface 613s # * @title: OrgProjectSignalingIface 613s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 613s # }; 613s # 613s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 613s # 613s # /* ---- Introspection data for org.project.SignalingIface ---- */ 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SimpleSignal", 613s # NULL, 613s # NULL 613s # }, 613s # "simple-signal" 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_b", 613s # (gchar *) "b", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_y", 613s # (gchar *) "y", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_n", 613s # (gchar *) "n", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_q", 613s # (gchar *) "q", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_i", 613s # (gchar *) "i", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_u", 613s # (gchar *) "u", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_x", 613s # (gchar *) "x", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_t", 613s # (gchar *) "t", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_d", 613s # (gchar *) "d", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_s", 613s # (gchar *) "s", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_o", 613s # (gchar *) "o", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_g", 613s # (gchar *) "g", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_h", 613s # (gchar *) "h", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_ay", 613s # (gchar *) "ay", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_as", 613s # (gchar *) "as", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_ao", 613s # (gchar *) "ao", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_aay", 613s # (gchar *) "aay", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 613s # { 613s # { 613s # -1, 613s # (gchar *) "an_asv", 613s # (gchar *) "a{sv}", 613s # NULL 613s # }, 613s # FALSE 613s # }; 613s # 613s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 613s # { 613s # { 613s # -1, 613s # (gchar *) "SignalWithManyArgs", 613s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 613s # NULL 613s # }, 613s # "signal-with-many-args" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 613s # { 613s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 613s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.SignalingIface", 613s # NULL, 613s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-signaling-iface", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_signaling_iface_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_simple_signal ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectSignalingIface: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceIface: 613s # * @parent_iface: The parent interface. 613s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 613s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.SignalingIface. 613s # */ 613s # 613s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 613s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * OrgProjectSignalingIface::simple-signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 613s # g_signal_new ("simple-signal", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_simple_signal, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /** 613s # * OrgProjectSignalingIface::signal-with-many-args: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_an_b: Argument. 613s # * @arg_an_y: Argument. 613s # * @arg_an_n: Argument. 613s # * @arg_an_q: Argument. 613s # * @arg_an_i: Argument. 613s # * @arg_an_u: Argument. 613s # * @arg_an_x: Argument. 613s # * @arg_an_t: Argument. 613s # * @arg_an_d: Argument. 613s # * @arg_an_s: Argument. 613s # * @arg_an_o: Argument. 613s # * @arg_an_g: Argument. 613s # * @arg_an_h: Argument. 613s # * @arg_an_ay: Argument. 613s # * @arg_an_as: Argument. 613s # * @arg_an_ao: Argument. 613s # * @arg_an_aay: Argument. 613s # * @arg_an_asv: Argument. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 613s # g_signal_new ("signal-with-many-args", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 613s # NULL, 613s # NULL, 613s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 613s # G_TYPE_NONE, 613s # 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); 613s # 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_simple_signal: 613s # * @object: A #OrgProjectSignalingIface. 613s # * 613s # * Emits the "SimpleSignal" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_emit_signal_with_many_args: 613s # * @object: A #OrgProjectSignalingIface. 613s # * @arg_an_b: Argument to pass with the signal. 613s # * @arg_an_y: Argument to pass with the signal. 613s # * @arg_an_n: Argument to pass with the signal. 613s # * @arg_an_q: Argument to pass with the signal. 613s # * @arg_an_i: Argument to pass with the signal. 613s # * @arg_an_u: Argument to pass with the signal. 613s # * @arg_an_x: Argument to pass with the signal. 613s # * @arg_an_t: Argument to pass with the signal. 613s # * @arg_an_d: Argument to pass with the signal. 613s # * @arg_an_s: Argument to pass with the signal. 613s # * @arg_an_o: Argument to pass with the signal. 613s # * @arg_an_g: Argument to pass with the signal. 613s # * @arg_an_h: Argument to pass with the signal. 613s # * @arg_an_ay: Argument to pass with the signal. 613s # * @arg_an_as: Argument to pass with the signal. 613s # * @arg_an_ao: Argument to pass with the signal. 613s # * @arg_an_aay: Argument to pass with the signal. 613s # * @arg_an_asv: Argument to pass with the signal. 613s # * 613s # * Emits the "SignalWithManyArgs" D-Bus signal. 613s # */ 613s # void 613s # org_project_signaling_iface_emit_signal_with_many_args ( 613s # OrgProjectSignalingIface *object, 613s # gboolean arg_an_b, 613s # guchar arg_an_y, 613s # gint16 arg_an_n, 613s # guint16 arg_an_q, 613s # gint arg_an_i, 613s # guint arg_an_u, 613s # gint64 arg_an_x, 613s # guint64 arg_an_t, 613s # gdouble arg_an_d, 613s # const gchar *arg_an_s, 613s # const gchar *arg_an_o, 613s # const gchar *arg_an_g, 613s # GVariant *arg_an_h, 613s # const gchar *arg_an_ay, 613s # const gchar *const *arg_an_as, 613s # const gchar *const *arg_an_ao, 613s # const gchar *const *arg_an_aay, 613s # GVariant *arg_an_asv) 613s # { 613s # 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); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxy: 613s # * 613s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceProxy. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 613s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 613s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_signaling_iface_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_SIGNALING_IFACE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeleton: 613s # * 613s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectSignalingIfaceSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 613s # */ 613s # 613s # struct _OrgProjectSignalingIfaceSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_signaling_iface_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_signaling_iface_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_signaling_iface_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 613s # { 613s # _org_project_signaling_iface_skeleton_handle_method_call, 613s # _org_project_signaling_iface_skeleton_handle_get_property, 613s # _org_project_signaling_iface_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_signaling_iface_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_simple_signal ( 613s # OrgProjectSignalingIface *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void 613s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 613s # OrgProjectSignalingIface *object, 613s # gboolean arg_an_b, 613s # guchar arg_an_y, 613s # gint16 arg_an_n, 613s # guint16 arg_an_q, 613s # gint arg_an_i, 613s # guint arg_an_u, 613s # gint64 arg_an_x, 613s # guint64 arg_an_t, 613s # gdouble arg_an_d, 613s # const gchar *arg_an_s, 613s # const gchar *arg_an_o, 613s # const gchar *arg_an_g, 613s # GVariant *arg_an_h, 613s # const gchar *arg_an_ay, 613s # const gchar *const *arg_an_as, 613s # const gchar *const *arg_an_ao, 613s # const gchar *const *arg_an_aay, 613s # GVariant *arg_an_asv) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 613s # arg_an_b, 613s # arg_an_y, 613s # arg_an_n, 613s # arg_an_q, 613s # arg_an_i, 613s # arg_an_u, 613s # arg_an_x, 613s # arg_an_t, 613s # arg_an_d, 613s # arg_an_s, 613s # arg_an_o, 613s # arg_an_g, 613s # arg_an_h, 613s # arg_an_ay, 613s # arg_an_as, 613s # arg_an_ao, 613s # arg_an_aay, 613s # arg_an_asv)); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_signaling_iface_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 613s # { 613s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 613s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 613s # } 613s # 613s # /** 613s # * org_project_signaling_iface_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 613s # * 613s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 613s # */ 613s # OrgProjectSignalingIface * 613s # org_project_signaling_iface_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 613s # } 613s # Error: 613s ok 25 __main__.TestCodegen.test_generate_valid_docbook 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpk7oth47v 613s # /tmp/tmpk7oth47v/tmpewquj0tq.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7oth47v/tmpewquj0tq.xml', '--generate-docbook', 'test'] 613s # Return code: 0 613s # Output: 613s # 613s # Error: 613s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmplkkhzhgw 613s # /tmp/tmplkkhzhgw/tmpyvrf48xt.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplkkhzhgw/tmpyvrf48xt.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 613s # Return code: 1 613s # Output: 613s # 613s # Error: 613s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 613s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmp2zvctpw1 613s # /tmp/tmp2zvctpw1/tmpmfz__nme.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2zvctpw1/tmpmfz__nme.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpbfck2qsy 613s # /tmp/tmpbfck2qsy/tmpjx58noxu.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbfck2qsy/tmpjx58noxu.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 613s # Return code: 1 613s # Output: 613s # 613s # Error: 613s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 613s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpsfry2fs7 613s # /tmp/tmpsfry2fs7/tmpovnxfusm.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsfry2fs7/tmpovnxfusm.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmp83ee0_sf 613s # /tmp/tmp83ee0_sf/tmp6k0g9krp.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp83ee0_sf/tmp6k0g9krp.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpbniwvhwr 613s # /tmp/tmpbniwvhwr/tmp6awfconv.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbniwvhwr/tmp6awfconv.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 613s # Return code: 1 613s # Output: 613s # 613s # Error: 613s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 613s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpbapiot5h 613s # /tmp/tmpbapiot5h/tmpb2c5vhkz.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbapiot5h/tmpb2c5vhkz.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmp0luciwag 613s # /tmp/tmp0luciwag/tmpnd109rpz.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0luciwag/tmpnd109rpz.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 613s # Return code: 1 613s # Output: 613s # 613s # Error: 613s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 613s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpui2ojtfp 613s # /tmp/tmpui2ojtfp/tmp3_8d7_8a.xml: 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpui2ojtfp/tmp3_8d7_8a.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s ok 35 __main__.TestCodegen.test_help 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmp2berd7kq 613s # Running: ['/usr/bin/gdbus-codegen', '--help'] 613s # Return code: 0 613s # Output: 613s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 613s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 613s # [--c-generate-autocleanup {none,objects,all}] 613s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 613s # [--generate-rst OUTFILES] [--pragma-once] 613s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 613s # [--glib-min-required VERSION] 613s # [--glib-max-allowed VERSION] 613s # [--symbol-decorator SYMBOL_DECORATOR] 613s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 613s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 613s # [--generate-c-code OUTFILES | --header | --body | 613s # --interface-info-header | --interface-info-body] 613s # [--output FILE | --output-directory OUTDIR] 613s # FILE [FILE ...] 613s # 613s # D-Bus code and documentation generator 613s # 613s # positional arguments: 613s # FILE D-Bus introspection XML file 613s # 613s # options: 613s # -h, --help show this help message and exit 613s # --interface-prefix PREFIX 613s # String to strip from D-Bus interface names for code 613s # and docs 613s # --c-namespace NAMESPACE 613s # The namespace to use for generated C code 613s # --c-generate-object-manager 613s # Generate a GDBusObjectManagerClient subclass when 613s # generating C code 613s # --c-generate-autocleanup {none,objects,all} 613s # Generate autocleanup support 613s # --generate-docbook OUTFILES 613s # Generate Docbook in OUTFILES-org.Project.IFace.xml 613s # --generate-md OUTFILES 613s # Generate Markdown in OUTFILES-org.Project.IFace.md 613s # --generate-rst OUTFILES 613s # Generate reStructuredText in OUTFILES- 613s # org.Project.IFace.rst 613s # --pragma-once Use "pragma once" as the inclusion guard 613s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 613s # Add annotation (may be used several times) 613s # --glib-min-required VERSION 613s # Minimum version of GLib to be supported by the 613s # outputted code (default: 2.30) 613s # --glib-max-allowed VERSION 613s # Maximum version of GLib to be used by the outputted 613s # code (default: current GLib version) 613s # --symbol-decorator SYMBOL_DECORATOR 613s # Macro used to decorate a symbol in the outputted 613s # header, possibly to export symbols 613s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 613s # Additional header required for decorator specified by 613s # --symbol-decorator 613s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 613s # Additional define required for decorator specified by 613s # --symbol-decorator 613s # --generate-c-code OUTFILES 613s # Generate C code in OUTFILES.[ch] 613s # --header Generate C headers 613s # --body Generate C code 613s # --interface-info-header 613s # Generate GDBusInterfaceInfo C header 613s # --interface-info-body 613s # Generate GDBusInterfaceInfo C code 613s # --output FILE Write output into the specified file 613s # --output-directory OUTDIR 613s # Location to output generated files 613s # Error: 613s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpeql09jhj 613s # /tmp/tmpeql09jhj/tmpvqagmube.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeql09jhj/tmpvqagmube.xml', '--generate-rst', 'test'] 613s # Return code: 0 613s # Output: 613s # 613s # Error: 613s # 613s # /tmp/tmpeql09jhj/tmp__h7r8xo.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeql09jhj/tmp__h7r8xo.xml', '--generate-md', 'test'] 613s # Return code: 0 613s # Output: 613s # 613s # Error: 613s # 613s # /tmp/tmpeql09jhj/tmpm6efy2pw.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeql09jhj/tmpm6efy2pw.xml', '--generate-docbook', 'test'] 613s # Return code: 0 613s # Output: 613s # 613s # Error: 613s ok 37 __main__.TestCodegen.test_no_args 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpuo_usfxo 613s # Running: ['/usr/bin/gdbus-codegen'] 613s # Return code: 2 613s # Output: 613s # 613s # Error: 613s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 613s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 613s # [--c-generate-autocleanup {none,objects,all}] 613s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 613s # [--generate-rst OUTFILES] [--pragma-once] 613s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 613s # [--glib-min-required VERSION] 613s # [--glib-max-allowed VERSION] 613s # [--symbol-decorator SYMBOL_DECORATOR] 613s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 613s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 613s # [--generate-c-code OUTFILES | --header | --body | 613s # --interface-info-header | --interface-info-body] 613s # [--output FILE | --output-directory OUTDIR] 613s # FILE [FILE ...] 613s # gdbus-codegen: error: the following arguments are required: FILE 613s ok 38 __main__.TestCodegen.test_reproducible 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpoml_gnvw 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoml_gnvw/tmpm4xmaopf1.xml', '/tmp/tmpoml_gnvw/tmpd_v94my62.xml', '--output', '-', '--header'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # /* Declarations for org.project.Bar.Frobnicator */ 613s # 613s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 613s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 613s # 613s # struct _OrgProjectBarFrobnicator; 613s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 613s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 613s # 613s # struct _OrgProjectBarFrobnicatorIface 613s # { 613s # GTypeInterface parent_iface; 613s # 613s # gboolean (*handle_random_method) ( 613s # OrgProjectBarFrobnicator *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # }; 613s # 613s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 613s # 613s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 613s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 613s # 613s # 613s # /* D-Bus method call completion functions: */ 613s # void org_project_bar_frobnicator_complete_random_method ( 613s # OrgProjectBarFrobnicator *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # 613s # 613s # /* D-Bus method calls: */ 613s # void org_project_bar_frobnicator_call_random_method ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 613s # 613s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 613s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 613s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 613s # 613s # struct _OrgProjectBarFrobnicatorProxy 613s # { 613s # /*< private >*/ 613s # GDBusProxy parent_instance; 613s # OrgProjectBarFrobnicatorProxyPrivate *priv; 613s # }; 613s # 613s # struct _OrgProjectBarFrobnicatorProxyClass 613s # { 613s # GDBusProxyClass parent_class; 613s # }; 613s # 613s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 613s # #endif 613s # 613s # void org_project_bar_frobnicator_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void org_project_bar_frobnicator_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 613s # 613s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 613s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 613s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 613s # 613s # struct _OrgProjectBarFrobnicatorSkeleton 613s # { 613s # /*< private >*/ 613s # GDBusInterfaceSkeleton parent_instance; 613s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 613s # }; 613s # 613s # struct _OrgProjectBarFrobnicatorSkeletonClass 613s # { 613s # GDBusInterfaceSkeletonClass parent_class; 613s # }; 613s # 613s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 613s # #endif 613s # 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # /* Declarations for com.acme.Coyote */ 613s # 613s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 613s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 613s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 613s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 613s # 613s # struct _ComAcmeCoyote; 613s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 613s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 613s # 613s # struct _ComAcmeCoyoteIface 613s # { 613s # GTypeInterface parent_iface; 613s # 613s # 613s # 613s # gboolean (*handle_attack) ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # gboolean (*handle_run) ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # gboolean (*handle_sleep) ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # const gchar * (*get_mood) (ComAcmeCoyote *object); 613s # 613s # void (*surprised) ( 613s # ComAcmeCoyote *object); 613s # 613s # }; 613s # 613s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 613s # 613s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 613s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 613s # 613s # 613s # /* D-Bus method call completion functions: */ 613s # void com_acme_coyote_complete_run ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # void com_acme_coyote_complete_sleep ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # void com_acme_coyote_complete_attack ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # 613s # 613s # /* D-Bus signal emissions functions: */ 613s # void com_acme_coyote_emit_surprised ( 613s # ComAcmeCoyote *object); 613s # 613s # 613s # 613s # /* D-Bus method calls: */ 613s # void com_acme_coyote_call_run ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean com_acme_coyote_call_run_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean com_acme_coyote_call_run_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void com_acme_coyote_call_sleep ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean com_acme_coyote_call_sleep_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean com_acme_coyote_call_sleep_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void com_acme_coyote_call_attack ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean com_acme_coyote_call_attack_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean com_acme_coyote_call_attack_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # 613s # /* D-Bus property accessors: */ 613s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 613s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 613s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 613s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 613s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 613s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 613s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 613s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 613s # 613s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 613s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 613s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 613s # 613s # struct _ComAcmeCoyoteProxy 613s # { 613s # /*< private >*/ 613s # GDBusProxy parent_instance; 613s # ComAcmeCoyoteProxyPrivate *priv; 613s # }; 613s # 613s # struct _ComAcmeCoyoteProxyClass 613s # { 613s # GDBusProxyClass parent_class; 613s # }; 613s # 613s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 613s # #endif 613s # 613s # void com_acme_coyote_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void com_acme_coyote_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 613s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 613s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 613s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 613s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 613s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 613s # 613s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 613s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 613s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 613s # 613s # struct _ComAcmeCoyoteSkeleton 613s # { 613s # /*< private >*/ 613s # GDBusInterfaceSkeleton parent_instance; 613s # ComAcmeCoyoteSkeletonPrivate *priv; 613s # }; 613s # 613s # struct _ComAcmeCoyoteSkeletonClass 613s # { 613s # GDBusInterfaceSkeletonClass parent_class; 613s # }; 613s # 613s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 613s # #endif 613s # 613s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoml_gnvw/tmpd_v94my62.xml', '/tmp/tmpoml_gnvw/tmpm4xmaopf1.xml', '--output', '-', '--header'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # /* Declarations for org.project.Bar.Frobnicator */ 613s # 613s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 613s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 613s # 613s # struct _OrgProjectBarFrobnicator; 613s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 613s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 613s # 613s # struct _OrgProjectBarFrobnicatorIface 613s # { 613s # GTypeInterface parent_iface; 613s # 613s # gboolean (*handle_random_method) ( 613s # OrgProjectBarFrobnicator *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # }; 613s # 613s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 613s # 613s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 613s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 613s # 613s # 613s # /* D-Bus method call completion functions: */ 613s # void org_project_bar_frobnicator_complete_random_method ( 613s # OrgProjectBarFrobnicator *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # 613s # 613s # /* D-Bus method calls: */ 613s # void org_project_bar_frobnicator_call_random_method ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 613s # 613s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 613s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 613s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 613s # 613s # struct _OrgProjectBarFrobnicatorProxy 613s # { 613s # /*< private >*/ 613s # GDBusProxy parent_instance; 613s # OrgProjectBarFrobnicatorProxyPrivate *priv; 613s # }; 613s # 613s # struct _OrgProjectBarFrobnicatorProxyClass 613s # { 613s # GDBusProxyClass parent_class; 613s # }; 613s # 613s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 613s # #endif 613s # 613s # void org_project_bar_frobnicator_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void org_project_bar_frobnicator_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 613s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 613s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 613s # 613s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 613s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 613s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 613s # 613s # struct _OrgProjectBarFrobnicatorSkeleton 613s # { 613s # /*< private >*/ 613s # GDBusInterfaceSkeleton parent_instance; 613s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 613s # }; 613s # 613s # struct _OrgProjectBarFrobnicatorSkeletonClass 613s # { 613s # GDBusInterfaceSkeletonClass parent_class; 613s # }; 613s # 613s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 613s # #endif 613s # 613s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # /* Declarations for com.acme.Coyote */ 613s # 613s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 613s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 613s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 613s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 613s # 613s # struct _ComAcmeCoyote; 613s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 613s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 613s # 613s # struct _ComAcmeCoyoteIface 613s # { 613s # GTypeInterface parent_iface; 613s # 613s # 613s # 613s # gboolean (*handle_attack) ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # gboolean (*handle_run) ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # gboolean (*handle_sleep) ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # const gchar * (*get_mood) (ComAcmeCoyote *object); 613s # 613s # void (*surprised) ( 613s # ComAcmeCoyote *object); 613s # 613s # }; 613s # 613s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 613s # 613s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 613s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 613s # 613s # 613s # /* D-Bus method call completion functions: */ 613s # void com_acme_coyote_complete_run ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # void com_acme_coyote_complete_sleep ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # void com_acme_coyote_complete_attack ( 613s # ComAcmeCoyote *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # 613s # 613s # /* D-Bus signal emissions functions: */ 613s # void com_acme_coyote_emit_surprised ( 613s # ComAcmeCoyote *object); 613s # 613s # 613s # 613s # /* D-Bus method calls: */ 613s # void com_acme_coyote_call_run ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean com_acme_coyote_call_run_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean com_acme_coyote_call_run_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void com_acme_coyote_call_sleep ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean com_acme_coyote_call_sleep_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean com_acme_coyote_call_sleep_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void com_acme_coyote_call_attack ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean com_acme_coyote_call_attack_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean com_acme_coyote_call_attack_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # 613s # /* D-Bus property accessors: */ 613s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 613s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 613s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 613s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 613s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 613s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 613s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 613s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 613s # 613s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 613s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 613s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 613s # 613s # struct _ComAcmeCoyoteProxy 613s # { 613s # /*< private >*/ 613s # GDBusProxy parent_instance; 613s # ComAcmeCoyoteProxyPrivate *priv; 613s # }; 613s # 613s # struct _ComAcmeCoyoteProxyClass 613s # { 613s # GDBusProxyClass parent_class; 613s # }; 613s # 613s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 613s # #endif 613s # 613s # void com_acme_coyote_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void com_acme_coyote_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 613s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 613s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 613s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 613s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 613s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 613s # 613s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 613s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 613s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 613s # 613s # struct _ComAcmeCoyoteSkeleton 613s # { 613s # /*< private >*/ 613s # GDBusInterfaceSkeleton parent_instance; 613s # ComAcmeCoyoteSkeletonPrivate *priv; 613s # }; 613s # 613s # struct _ComAcmeCoyoteSkeletonClass 613s # { 613s # GDBusInterfaceSkeletonClass parent_class; 613s # }; 613s # 613s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 613s # #endif 613s # 613s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoml_gnvw/tmpm4xmaopf1.xml', '/tmp/tmpoml_gnvw/tmpd_v94my62.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # static void 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint G_GNUC_UNUSED, 613s # void *marshal_data) 613s # { 613s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 613s # (void *data1, 613s # GDBusMethodInvocation *arg_method_invocation, 613s # void *data2); 613s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 613s # GCClosure *cc = (GCClosure*) closure; 613s # void *data1, *data2; 613s # gboolean v_return; 613s # 613s # g_return_if_fail (return_value != NULL); 613s # g_return_if_fail (n_param_values == 2); 613s # 613s # if (G_CCLOSURE_SWAP_DATA (closure)) 613s # { 613s # data1 = closure->data; 613s # data2 = g_value_peek_pointer (param_values + 0); 613s # } 613s # else 613s # { 613s # data1 = g_value_peek_pointer (param_values + 0); 613s # data2 = closure->data; 613s # } 613s # 613s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 613s # (marshal_data ? marshal_data : cc->callback); 613s # 613s # v_return = 613s # callback (data1, 613s # g_marshal_value_peek_object (param_values + 1), 613s # data2); 613s # 613s # g_value_set_boolean (return_value, v_return); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.Bar.Frobnicator 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectBarFrobnicator 613s # * @title: OrgProjectBarFrobnicator 613s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 613s # */ 613s # 613s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 613s # 613s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 613s # { 613s # { 613s # -1, 613s # (gchar *) "RandomMethod", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-random-method", 613s # FALSE 613s # }; 613s # 613s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 613s # { 613s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.Bar.Frobnicator", 613s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-bar-frobnicator", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_bar_frobnicator_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_bar_frobnicator_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_bar_frobnicator_method_marshal_random_method ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectBarFrobnicator: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 613s # */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorIface: 613s # * @parent_iface: The parent interface. 613s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 613s # */ 613s # 613s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 613s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 613s # { 613s # /* GObject signals for incoming D-Bus method calls: */ 613s # /** 613s # * OrgProjectBarFrobnicator::handle-random-method: 613s # * @object: A #OrgProjectBarFrobnicator. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-random-method", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # org_project_bar_frobnicator_method_marshal_random_method, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_call_random_method: 613s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 613s # * 613s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # org_project_bar_frobnicator_call_random_method ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "RandomMethod", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_call_random_method_finish: 613s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # org_project_bar_frobnicator_call_random_method_finish ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_call_random_method_sync: 613s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # org_project_bar_frobnicator_call_random_method_sync ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "RandomMethod", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_complete_random_method: 613s # * @object: A #OrgProjectBarFrobnicator. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # org_project_bar_frobnicator_complete_random_method ( 613s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorProxy: 613s # * 613s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectBarFrobnicatorProxy. 613s # */ 613s # 613s # struct _OrgProjectBarFrobnicatorProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 613s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 613s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_bar_frobnicator_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_bar_frobnicator_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorSkeleton: 613s # * 613s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 613s # */ 613s # 613s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 613s # { 613s # _org_project_bar_frobnicator_skeleton_handle_method_call, 613s # _org_project_bar_frobnicator_skeleton_handle_get_property, 613s # _org_project_bar_frobnicator_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_bar_frobnicator_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface com.acme.Coyote 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:ComAcmeCoyote 613s # * @title: ComAcmeCoyote 613s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 613s # * 613s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _COM_ACME_COYOTE_SURPRISED, 613s # }; 613s # 613s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 613s # 613s # /* ---- Introspection data for com.acme.Coyote ---- */ 613s # 613s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Run", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-run", 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Sleep", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-sleep", 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Attack", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-attack", 613s # FALSE 613s # }; 613s # 613s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 613s # { 613s # &_com_acme_coyote_method_info_run.parent_struct, 613s # &_com_acme_coyote_method_info_sleep.parent_struct, 613s # &_com_acme_coyote_method_info_attack.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Surprised", 613s # NULL, 613s # NULL 613s # }, 613s # "surprised" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 613s # { 613s # &_com_acme_coyote_signal_info_surprised.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Mood", 613s # (gchar *) "s", 613s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 613s # NULL 613s # }, 613s # "mood", 613s # FALSE, 613s # TRUE 613s # }; 613s # 613s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 613s # { 613s # &_com_acme_coyote_property_info_mood.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "com.acme.Coyote", 613s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 613s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 613s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 613s # NULL 613s # }, 613s # "com-acme-coyote", 613s # }; 613s # 613s # 613s # /** 613s # * com_acme_coyote_interface_info: 613s # * 613s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # com_acme_coyote_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 613s # { 613s # g_object_class_override_property (klass, property_id_begin++, "mood"); 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # com_acme_coyote_signal_marshal_surprised ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # com_acme_coyote_method_marshal_run ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # com_acme_coyote_method_marshal_sleep ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # com_acme_coyote_method_marshal_attack ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * ComAcmeCoyote: 613s # * 613s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 613s # */ 613s # 613s # /** 613s # * ComAcmeCoyoteIface: 613s # * @parent_iface: The parent interface. 613s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 613s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 613s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 613s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 613s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 613s # * 613s # * Virtual table for the D-Bus interface com.acme.Coyote. 613s # */ 613s # 613s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 613s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 613s # 613s # static void 613s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 613s # { 613s # /* GObject signals for incoming D-Bus method calls: */ 613s # /** 613s # * ComAcmeCoyote::handle-run: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-run", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # com_acme_coyote_method_marshal_run, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # /** 613s # * ComAcmeCoyote::handle-sleep: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-sleep", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # com_acme_coyote_method_marshal_sleep, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # /** 613s # * ComAcmeCoyote::handle-attack: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-attack", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # com_acme_coyote_method_marshal_attack, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * ComAcmeCoyote::surprised: 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 613s # g_signal_new ("surprised", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 613s # NULL, 613s # NULL, 613s # com_acme_coyote_signal_marshal_surprised, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /* GObject properties for D-Bus properties: */ 613s # /** 613s # * ComAcmeCoyote:mood: 613s # * 613s # * Represents the D-Bus property "Mood". 613s # * 613s # * 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. 613s # */ 613s # g_object_interface_install_property (iface, 613s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_get_mood: (skip) 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * Gets the value of the "Mood" D-Bus property. 613s # * 613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # const gchar * 613s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 613s # { 613s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 613s # 613s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_dup_mood: (skip) 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * Gets a copy of the "Mood" D-Bus property. 613s # * 613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 613s # * 613s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 613s # */ 613s # gchar * 613s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 613s # { 613s # gchar *value; 613s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 613s # return value; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_set_mood: (skip) 613s # * @object: A #ComAcmeCoyote. 613s # * @value: The value to set. 613s # * 613s # * Sets the "Mood" D-Bus property to @value. 613s # * 613s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 613s # */ 613s # void 613s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 613s # { 613s # g_object_set (G_OBJECT (object), "mood", value, NULL); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_emit_surprised: 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * Emits the "Surprised" D-Bus signal. 613s # */ 613s # void 613s # com_acme_coyote_emit_surprised ( 613s # ComAcmeCoyote *object) 613s # { 613s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_run: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the Run() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # com_acme_coyote_call_run ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "Run", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_run_finish: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with com_acme_coyote_call_run(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_run_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_run_sync: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_run_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "Run", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_sleep: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # com_acme_coyote_call_sleep ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "Sleep", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_sleep_finish: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with com_acme_coyote_call_sleep(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_sleep_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_sleep_sync: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_sleep_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "Sleep", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_attack: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # com_acme_coyote_call_attack ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "Attack", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_attack_finish: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with com_acme_coyote_call_attack(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_attack_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_attack_sync: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_attack_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "Attack", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_complete_run: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # com_acme_coyote_complete_run ( 613s # ComAcmeCoyote *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_complete_sleep: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # com_acme_coyote_complete_sleep ( 613s # ComAcmeCoyote *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_complete_attack: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # com_acme_coyote_complete_attack ( 613s # ComAcmeCoyote *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * ComAcmeCoyoteProxy: 613s # * 613s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * ComAcmeCoyoteProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #ComAcmeCoyoteProxy. 613s # */ 613s # 613s # struct _ComAcmeCoyoteProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # com_acme_coyote_proxy_finalize (GObject *object) 613s # { 613s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_get_property (GObject *object, 613s # guint prop_id, 613s # GValue *value, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # GVariant *variant; 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 613s # if (info->use_gvariant) 613s # { 613s # g_value_set_variant (value, variant); 613s # } 613s # else 613s # { 613s # if (variant != NULL) 613s # g_dbus_gvariant_to_gvalue (variant, value); 613s # } 613s # if (variant != NULL) 613s # g_variant_unref (variant); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 613s # GAsyncResult *res, 613s # gpointer user_data) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info = user_data; 613s # GError *error; 613s # GVariant *_ret; 613s # error = NULL; 613s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 613s # if (!_ret) 613s # { 613s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 613s # info->parent_struct.name, 613s # error->message, g_quark_to_string (error->domain), error->code); 613s # g_error_free (error); 613s # } 613s # else 613s # { 613s # g_variant_unref (_ret); 613s # } 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_set_property (GObject *object, 613s # guint prop_id, 613s # const GValue *value, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # GVariant *variant; 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 613s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_dbus_proxy_call (G_DBUS_PROXY (object), 613s # "org.freedesktop.DBus.Properties.Set", 613s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 613s # g_variant_unref (variant); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static const gchar * 613s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 613s # { 613s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 613s # GVariant *variant; 613s # const gchar *value = NULL; 613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 613s # if (variant != NULL) 613s # { 613s # value = g_variant_get_string (variant, NULL); 613s # g_variant_unref (variant); 613s # } 613s # return value; 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 613s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 613s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 613s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 613s # 613s # com_acme_coyote_override_properties (gobject_class, 1); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 613s # { 613s # iface->get_mood = com_acme_coyote_proxy_get_mood; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # com_acme_coyote_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with com_acme_coyote_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # com_acme_coyote_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * ComAcmeCoyoteSkeleton: 613s # * 613s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * ComAcmeCoyoteSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #ComAcmeCoyoteSkeleton. 613s # */ 613s # 613s # struct _ComAcmeCoyoteSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _com_acme_coyote_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _com_acme_coyote_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _com_acme_coyote_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 613s # { 613s # _com_acme_coyote_skeleton_handle_method_call, 613s # _com_acme_coyote_skeleton_handle_get_property, 613s # _com_acme_coyote_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return com_acme_coyote_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 613s # 613s # static void 613s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 613s # gboolean emit_changed = FALSE; 613s # 613s # g_mutex_lock (&skeleton->priv->lock); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # { 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # skeleton->priv->changed_properties_idle_source = NULL; 613s # emit_changed = TRUE; 613s # } 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # 613s # if (emit_changed) 613s # _com_acme_coyote_emit_changed (skeleton); 613s # } 613s # 613s # static void 613s # _com_acme_coyote_on_signal_surprised ( 613s # ComAcmeCoyote *object) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # com_acme_coyote_skeleton_finalize (GObject *object) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # guint n; 613s # for (n = 0; n < 1; n++) 613s # g_value_unset (&skeleton->priv->properties[n]); 613s # g_free (skeleton->priv->properties); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_get_property (GObject *object, 613s # guint prop_id, 613s # GValue *value, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # g_mutex_lock (&skeleton->priv->lock); 613s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # } 613s # 613s # static gboolean 613s # _com_acme_coyote_emit_changed (gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # GList *l; 613s # GVariantBuilder builder; 613s # GVariantBuilder invalidated_builder; 613s # guint num_changes; 613s # 613s # g_mutex_lock (&skeleton->priv->lock); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 613s # #else 613s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 613s # #endif 613s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 613s # { 613s # ChangedProperty *cp = l->data; 613s # GVariant *variant; 613s # const GValue *cur_value; 613s # 613s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 613s # if (!_g_value_equal (cur_value, &cp->orig_value)) 613s # { 613s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 613s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 613s # g_variant_unref (variant); 613s # num_changes++; 613s # } 613s # } 613s # if (num_changes > 0) 613s # { 613s # GList *connections, *ll; 613s # GVariant *signal_variant; 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 613s # &builder, &invalidated_builder)); 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # for (ll = connections; ll != NULL; ll = ll->next) 613s # { 613s # GDBusConnection *connection = ll->data; 613s # 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 613s # "org.freedesktop.DBus.Properties", 613s # "PropertiesChanged", 613s # signal_variant, 613s # NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # else 613s # { 613s # g_variant_builder_clear (&builder); 613s # g_variant_builder_clear (&invalidated_builder); 613s # } 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # skeleton->priv->changed_properties = NULL; 613s # skeleton->priv->changed_properties_idle_source = NULL; 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # return FALSE; 613s # } 613s # 613s # static void 613s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 613s # { 613s # ChangedProperty *cp; 613s # GList *l; 613s # cp = NULL; 613s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 613s # { 613s # ChangedProperty *i_cp = l->data; 613s # if (i_cp->info == info) 613s # { 613s # cp = i_cp; 613s # break; 613s # } 613s # } 613s # if (cp == NULL) 613s # { 613s # cp = g_new0 (ChangedProperty, 1); 613s # cp->prop_id = prop_id; 613s # cp->info = info; 613s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 613s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 613s # g_value_copy (orig_value, &cp->orig_value); 613s # } 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_notify (GObject *object, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # g_mutex_lock (&skeleton->priv->lock); 613s # if (skeleton->priv->changed_properties != NULL && 613s # skeleton->priv->changed_properties_idle_source == NULL) 613s # { 613s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 613s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 613s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 613s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 613s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 613s # g_source_unref (skeleton->priv->changed_properties_idle_source); 613s # } 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_set_property (GObject *object, 613s # guint prop_id, 613s # const GValue *value, 613s # GParamSpec *pspec) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 613s # g_mutex_lock (&skeleton->priv->lock); 613s # g_object_freeze_notify (object); 613s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 613s # { 613s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 613s # info->emits_changed_signal) 613s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 613s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 613s # g_object_notify_by_pspec (object, pspec); 613s # } 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # g_object_thaw_notify (object); 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # skeleton->priv->properties = g_new0 (GValue, 1); 613s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 613s # } 613s # 613s # static const gchar * 613s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # const gchar *value; 613s # g_mutex_lock (&skeleton->priv->lock); 613s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # return value; 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 613s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 613s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 613s # gobject_class->notify = com_acme_coyote_skeleton_notify; 613s # 613s # 613s # com_acme_coyote_override_properties (gobject_class, 1); 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 613s # { 613s # iface->surprised = _com_acme_coyote_on_signal_surprised; 613s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_skeleton_new (void) 613s # { 613s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 613s # } 613s # Error: 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoml_gnvw/tmpd_v94my62.xml', '/tmp/tmpoml_gnvw/tmpm4xmaopf1.xml', '--output', '-', '--body'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifdef HAVE_CONFIG_H 613s # # include "config.h" 613s # #endif 613s # 613s # #include 613s # #ifdef G_OS_UNIX 613s # # include 613s # #endif 613s # 613s # #ifdef G_ENABLE_DEBUG 613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 613s # #else /* !G_ENABLE_DEBUG */ 613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 613s # * Do not access GValues directly in your code. Instead, use the 613s # * g_value_get_*() functions 613s # */ 613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 613s # #endif /* !G_ENABLE_DEBUG */ 613s # 613s # typedef struct 613s # { 613s # GDBusArgInfo parent_struct; 613s # gboolean use_gvariant; 613s # } _ExtendedGDBusArgInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusMethodInfo parent_struct; 613s # const gchar *signal_name; 613s # gboolean pass_fdlist; 613s # } _ExtendedGDBusMethodInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusSignalInfo parent_struct; 613s # const gchar *signal_name; 613s # } _ExtendedGDBusSignalInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusPropertyInfo parent_struct; 613s # const gchar *hyphen_name; 613s # guint use_gvariant : 1; 613s # guint emits_changed_signal : 1; 613s # } _ExtendedGDBusPropertyInfo; 613s # 613s # typedef struct 613s # { 613s # GDBusInterfaceInfo parent_struct; 613s # const gchar *hyphen_name; 613s # } _ExtendedGDBusInterfaceInfo; 613s # 613s # typedef struct 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # guint prop_id; 613s # GValue orig_value; /* the value before the change */ 613s # } ChangedProperty; 613s # 613s # static void 613s # _changed_property_free (ChangedProperty *data) 613s # { 613s # g_value_unset (&data->orig_value); 613s # g_free (data); 613s # } 613s # 613s # static gboolean 613s # _g_strv_equal0 (gchar **a, gchar **b) 613s # { 613s # gboolean ret = FALSE; 613s # guint n; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # if (g_strv_length (a) != g_strv_length (b)) 613s # goto out; 613s # for (n = 0; a[n] != NULL; n++) 613s # if (g_strcmp0 (a[n], b[n]) != 0) 613s # goto out; 613s # ret = TRUE; 613s # out: 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _g_variant_equal0 (GVariant *a, GVariant *b) 613s # { 613s # gboolean ret = FALSE; 613s # if (a == NULL && b == NULL) 613s # { 613s # ret = TRUE; 613s # goto out; 613s # } 613s # if (a == NULL || b == NULL) 613s # goto out; 613s # ret = g_variant_equal (a, b); 613s # out: 613s # return ret; 613s # } 613s # 613s # G_GNUC_UNUSED static gboolean 613s # _g_value_equal (const GValue *a, const GValue *b) 613s # { 613s # gboolean ret = FALSE; 613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 613s # switch (G_VALUE_TYPE (a)) 613s # { 613s # case G_TYPE_BOOLEAN: 613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 613s # break; 613s # case G_TYPE_UCHAR: 613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 613s # break; 613s # case G_TYPE_INT: 613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 613s # break; 613s # case G_TYPE_UINT: 613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 613s # break; 613s # case G_TYPE_INT64: 613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 613s # break; 613s # case G_TYPE_UINT64: 613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 613s # break; 613s # case G_TYPE_DOUBLE: 613s # { 613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 613s # gdouble da = g_value_get_double (a); 613s # gdouble db = g_value_get_double (b); 613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 613s # } 613s # break; 613s # case G_TYPE_STRING: 613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 613s # break; 613s # case G_TYPE_VARIANT: 613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 613s # break; 613s # default: 613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 613s # else 613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 613s # break; 613s # } 613s # return ret; 613s # } 613s # 613s # static void 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint G_GNUC_UNUSED, 613s # void *marshal_data) 613s # { 613s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 613s # (void *data1, 613s # GDBusMethodInvocation *arg_method_invocation, 613s # void *data2); 613s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 613s # GCClosure *cc = (GCClosure*) closure; 613s # void *data1, *data2; 613s # gboolean v_return; 613s # 613s # g_return_if_fail (return_value != NULL); 613s # g_return_if_fail (n_param_values == 2); 613s # 613s # if (G_CCLOSURE_SWAP_DATA (closure)) 613s # { 613s # data1 = closure->data; 613s # data2 = g_value_peek_pointer (param_values + 0); 613s # } 613s # else 613s # { 613s # data1 = g_value_peek_pointer (param_values + 0); 613s # data2 = closure->data; 613s # } 613s # 613s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 613s # (marshal_data ? marshal_data : cc->callback); 613s # 613s # v_return = 613s # callback (data1, 613s # g_marshal_value_peek_object (param_values + 1), 613s # data2); 613s # 613s # g_value_set_boolean (return_value, v_return); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface org.project.Bar.Frobnicator 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:OrgProjectBarFrobnicator 613s # * @title: OrgProjectBarFrobnicator 613s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 613s # * 613s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 613s # */ 613s # 613s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 613s # 613s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 613s # { 613s # { 613s # -1, 613s # (gchar *) "RandomMethod", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-random-method", 613s # FALSE 613s # }; 613s # 613s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 613s # { 613s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "org.project.Bar.Frobnicator", 613s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "org-project-bar-frobnicator", 613s # }; 613s # 613s # 613s # /** 613s # * org_project_bar_frobnicator_interface_info: 613s # * 613s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # org_project_bar_frobnicator_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 613s # { 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # org_project_bar_frobnicator_method_marshal_random_method ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * OrgProjectBarFrobnicator: 613s # * 613s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 613s # */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorIface: 613s # * @parent_iface: The parent interface. 613s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 613s # * 613s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 613s # */ 613s # 613s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 613s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 613s # 613s # static void 613s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 613s # { 613s # /* GObject signals for incoming D-Bus method calls: */ 613s # /** 613s # * OrgProjectBarFrobnicator::handle-random-method: 613s # * @object: A #OrgProjectBarFrobnicator. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-random-method", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # org_project_bar_frobnicator_method_marshal_random_method, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_call_random_method: 613s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 613s # * 613s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # org_project_bar_frobnicator_call_random_method ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "RandomMethod", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_call_random_method_finish: 613s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # org_project_bar_frobnicator_call_random_method_finish ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_call_random_method_sync: 613s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # org_project_bar_frobnicator_call_random_method_sync ( 613s # OrgProjectBarFrobnicator *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "RandomMethod", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_complete_random_method: 613s # * @object: A #OrgProjectBarFrobnicator. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # org_project_bar_frobnicator_complete_random_method ( 613s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorProxy: 613s # * 613s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectBarFrobnicatorProxy. 613s # */ 613s # 613s # struct _OrgProjectBarFrobnicatorProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 613s # { 613s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 613s # guint prop_id G_GNUC_UNUSED, 613s # const GValue *value G_GNUC_UNUSED, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 613s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 613s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 613s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_bar_frobnicator_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # org_project_bar_frobnicator_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorSkeleton: 613s # * 613s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * OrgProjectBarFrobnicatorSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 613s # */ 613s # 613s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 613s # { 613s # _org_project_bar_frobnicator_skeleton_handle_method_call, 613s # _org_project_bar_frobnicator_skeleton_handle_get_property, 613s # _org_project_bar_frobnicator_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return org_project_bar_frobnicator_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 613s # { 613s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 613s # { 613s # } 613s # 613s # /** 613s # * org_project_bar_frobnicator_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 613s # * 613s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 613s # */ 613s # OrgProjectBarFrobnicator * 613s # org_project_bar_frobnicator_skeleton_new (void) 613s # { 613s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ 613s # * Code for interface com.acme.Coyote 613s # * ------------------------------------------------------------------------ 613s # */ 613s # 613s # /** 613s # * SECTION:ComAcmeCoyote 613s # * @title: ComAcmeCoyote 613s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 613s # * 613s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 613s # */ 613s # 613s # enum 613s # { 613s # _COM_ACME_COYOTE_SURPRISED, 613s # }; 613s # 613s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 613s # 613s # /* ---- Introspection data for com.acme.Coyote ---- */ 613s # 613s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Run", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-run", 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Sleep", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-sleep", 613s # FALSE 613s # }; 613s # 613s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Attack", 613s # NULL, 613s # NULL, 613s # NULL 613s # }, 613s # "handle-attack", 613s # FALSE 613s # }; 613s # 613s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 613s # { 613s # &_com_acme_coyote_method_info_run.parent_struct, 613s # &_com_acme_coyote_method_info_sleep.parent_struct, 613s # &_com_acme_coyote_method_info_attack.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Surprised", 613s # NULL, 613s # NULL 613s # }, 613s # "surprised" 613s # }; 613s # 613s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 613s # { 613s # &_com_acme_coyote_signal_info_surprised.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 613s # { 613s # { 613s # -1, 613s # (gchar *) "Mood", 613s # (gchar *) "s", 613s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 613s # NULL 613s # }, 613s # "mood", 613s # FALSE, 613s # TRUE 613s # }; 613s # 613s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 613s # { 613s # &_com_acme_coyote_property_info_mood.parent_struct, 613s # NULL 613s # }; 613s # 613s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 613s # { 613s # { 613s # -1, 613s # (gchar *) "com.acme.Coyote", 613s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 613s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 613s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 613s # NULL 613s # }, 613s # "com-acme-coyote", 613s # }; 613s # 613s # 613s # /** 613s # * com_acme_coyote_interface_info: 613s # * 613s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 613s # * 613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 613s # */ 613s # GDBusInterfaceInfo * 613s # com_acme_coyote_interface_info (void) 613s # { 613s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_override_properties: 613s # * @klass: The class structure for a #GObject derived class. 613s # * @property_id_begin: The property id to assign to the first overridden property. 613s # * 613s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 613s # * The properties are overridden in the order they are defined. 613s # * 613s # * Returns: The last property id. 613s # */ 613s # guint 613s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 613s # { 613s # g_object_class_override_property (klass, property_id_begin++, "mood"); 613s # return property_id_begin - 1; 613s # } 613s # 613s # 613s # inline static void 613s # com_acme_coyote_signal_marshal_surprised ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # g_cclosure_marshal_VOID__VOID (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # com_acme_coyote_method_marshal_run ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # com_acme_coyote_method_marshal_sleep ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # inline static void 613s # com_acme_coyote_method_marshal_attack ( 613s # GClosure *closure, 613s # GValue *return_value, 613s # unsigned int n_param_values, 613s # const GValue *param_values, 613s # void *invocation_hint, 613s # void *marshal_data) 613s # { 613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 613s # } 613s # 613s # 613s # /** 613s # * ComAcmeCoyote: 613s # * 613s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 613s # */ 613s # 613s # /** 613s # * ComAcmeCoyoteIface: 613s # * @parent_iface: The parent interface. 613s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 613s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 613s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 613s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 613s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 613s # * 613s # * Virtual table for the D-Bus interface com.acme.Coyote. 613s # */ 613s # 613s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 613s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 613s # 613s # static void 613s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 613s # { 613s # /* GObject signals for incoming D-Bus method calls: */ 613s # /** 613s # * ComAcmeCoyote::handle-run: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-run", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # com_acme_coyote_method_marshal_run, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # /** 613s # * ComAcmeCoyote::handle-sleep: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-sleep", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # com_acme_coyote_method_marshal_sleep, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # /** 613s # * ComAcmeCoyote::handle-attack: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: A #GDBusMethodInvocation. 613s # * 613s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # g_signal_new ("handle-attack", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 613s # g_signal_accumulator_true_handled, 613s # NULL, 613s # com_acme_coyote_method_marshal_attack, 613s # G_TYPE_BOOLEAN, 613s # 1, 613s # G_TYPE_DBUS_METHOD_INVOCATION); 613s # 613s # /* GObject signals for received D-Bus signals: */ 613s # /** 613s # * ComAcmeCoyote::surprised: 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 613s # * 613s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 613s # */ 613s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 613s # g_signal_new ("surprised", 613s # G_TYPE_FROM_INTERFACE (iface), 613s # G_SIGNAL_RUN_LAST, 613s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 613s # NULL, 613s # NULL, 613s # com_acme_coyote_signal_marshal_surprised, 613s # G_TYPE_NONE, 613s # 0); 613s # 613s # /* GObject properties for D-Bus properties: */ 613s # /** 613s # * ComAcmeCoyote:mood: 613s # * 613s # * Represents the D-Bus property "Mood". 613s # * 613s # * 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. 613s # */ 613s # g_object_interface_install_property (iface, 613s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_get_mood: (skip) 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * Gets the value of the "Mood" D-Bus property. 613s # * 613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 613s # * 613s # * 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. 613s # * 613s # * 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. 613s # */ 613s # const gchar * 613s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 613s # { 613s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 613s # 613s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_dup_mood: (skip) 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * Gets a copy of the "Mood" D-Bus property. 613s # * 613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 613s # * 613s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 613s # */ 613s # gchar * 613s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 613s # { 613s # gchar *value; 613s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 613s # return value; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_set_mood: (skip) 613s # * @object: A #ComAcmeCoyote. 613s # * @value: The value to set. 613s # * 613s # * Sets the "Mood" D-Bus property to @value. 613s # * 613s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 613s # */ 613s # void 613s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 613s # { 613s # g_object_set (G_OBJECT (object), "mood", value, NULL); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_emit_surprised: 613s # * @object: A #ComAcmeCoyote. 613s # * 613s # * Emits the "Surprised" D-Bus signal. 613s # */ 613s # void 613s # com_acme_coyote_emit_surprised ( 613s # ComAcmeCoyote *object) 613s # { 613s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_run: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the Run() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # com_acme_coyote_call_run ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "Run", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_run_finish: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with com_acme_coyote_call_run(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_run_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_run_sync: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_run_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "Run", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_sleep: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # com_acme_coyote_call_sleep ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "Sleep", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_sleep_finish: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with com_acme_coyote_call_sleep(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_sleep_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_sleep_sync: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_sleep_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "Sleep", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_attack: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 613s # */ 613s # void 613s # com_acme_coyote_call_attack ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 613s # "Attack", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # callback, 613s # user_data); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_attack_finish: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Finishes an operation started with com_acme_coyote_call_attack(). 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_attack_finish ( 613s # ComAcmeCoyote *proxy, 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_call_attack_sync: 613s # * @proxy: A #ComAcmeCoyoteProxy. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL. 613s # * 613s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 613s # * 613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 613s # */ 613s # gboolean 613s # com_acme_coyote_call_attack_sync ( 613s # ComAcmeCoyote *proxy, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GVariant *_ret; 613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 613s # "Attack", 613s # g_variant_new ("()"), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # cancellable, 613s # error); 613s # if (_ret == NULL) 613s # goto _out; 613s # g_variant_get (_ret, 613s # "()"); 613s # g_variant_unref (_ret); 613s # _out: 613s # return _ret != NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_complete_run: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # com_acme_coyote_complete_run ( 613s # ComAcmeCoyote *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_complete_sleep: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # com_acme_coyote_complete_sleep ( 613s # ComAcmeCoyote *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_complete_attack: 613s # * @object: A #ComAcmeCoyote. 613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 613s # * 613s # * 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. 613s # * 613s # * This method will free @invocation, you cannot use it afterwards. 613s # */ 613s # void 613s # com_acme_coyote_complete_attack ( 613s # ComAcmeCoyote *object G_GNUC_UNUSED, 613s # GDBusMethodInvocation *invocation) 613s # { 613s # g_dbus_method_invocation_return_value (invocation, 613s # g_variant_new ("()")); 613s # } 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * ComAcmeCoyoteProxy: 613s # * 613s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * ComAcmeCoyoteProxyClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #ComAcmeCoyoteProxy. 613s # */ 613s # 613s # struct _ComAcmeCoyoteProxyPrivate 613s # { 613s # GData *qdata; 613s # }; 613s # 613s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 613s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 613s # 613s # #endif 613s # static void 613s # com_acme_coyote_proxy_finalize (GObject *object) 613s # { 613s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 613s # g_datalist_clear (&proxy->priv->qdata); 613s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_get_property (GObject *object, 613s # guint prop_id, 613s # GValue *value, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # GVariant *variant; 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 613s # if (info->use_gvariant) 613s # { 613s # g_value_set_variant (value, variant); 613s # } 613s # else 613s # { 613s # if (variant != NULL) 613s # g_dbus_gvariant_to_gvalue (variant, value); 613s # } 613s # if (variant != NULL) 613s # g_variant_unref (variant); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 613s # GAsyncResult *res, 613s # gpointer user_data) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info = user_data; 613s # GError *error; 613s # GVariant *_ret; 613s # error = NULL; 613s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 613s # if (!_ret) 613s # { 613s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 613s # info->parent_struct.name, 613s # error->message, g_quark_to_string (error->domain), error->code); 613s # g_error_free (error); 613s # } 613s # else 613s # { 613s # g_variant_unref (_ret); 613s # } 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_set_property (GObject *object, 613s # guint prop_id, 613s # const GValue *value, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # GVariant *variant; 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 613s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_dbus_proxy_call (G_DBUS_PROXY (object), 613s # "org.freedesktop.DBus.Properties.Set", 613s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 613s # G_DBUS_CALL_FLAGS_NONE, 613s # -1, 613s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 613s # g_variant_unref (variant); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 613s # const gchar *sender_name G_GNUC_UNUSED, 613s # const gchar *signal_name, 613s # GVariant *parameters) 613s # { 613s # _ExtendedGDBusSignalInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # gsize n; 613s # guint signal_id; 613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 613s # if (info == NULL) 613s # return; 613s # num_params = g_variant_n_children (parameters); 613s # paramv = g_new0 (GValue, num_params + 1); 613s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 613s # g_value_set_object (¶mv[0], proxy); 613s # g_variant_iter_init (&iter, parameters); 613s # n = 1; 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 613s # g_signal_emitv (paramv, signal_id, 0, NULL); 613s # for (n = 0; n < num_params + 1; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 613s # GVariant *changed_properties, 613s # const gchar *const *invalidated_properties) 613s # { 613s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 613s # guint n; 613s # const gchar *key; 613s # GVariantIter *iter; 613s # _ExtendedGDBusPropertyInfo *info; 613s # g_variant_get (changed_properties, "a{sv}", &iter); 613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 613s # g_datalist_remove_data (&proxy->priv->qdata, key); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # g_variant_iter_free (iter); 613s # for (n = 0; invalidated_properties[n] != NULL; n++) 613s # { 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 613s # if (info != NULL) 613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 613s # } 613s # } 613s # 613s # static const gchar * 613s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 613s # { 613s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 613s # GVariant *variant; 613s # const gchar *value = NULL; 613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 613s # if (variant != NULL) 613s # { 613s # value = g_variant_get_string (variant, NULL); 613s # g_variant_unref (variant); 613s # } 613s # return value; 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 613s # #else 613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 613s # #endif 613s # 613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusProxyClass *proxy_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 613s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 613s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 613s # 613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 613s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 613s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 613s # 613s # com_acme_coyote_override_properties (gobject_class, 1); 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 613s # { 613s # iface->get_mood = com_acme_coyote_proxy_get_mood; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # com_acme_coyote_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with com_acme_coyote_proxy_new(). 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_sync: 613s # * @connection: A #GDBusConnection. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_for_bus: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 613s # * @user_data: User data to pass to @callback. 613s # * 613s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 613s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 613s # * 613s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 613s # */ 613s # void 613s # com_acme_coyote_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data) 613s # { 613s # 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); 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_for_bus_finish: 613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 613s # * @error: Return location for error or %NULL 613s # * 613s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error) 613s # { 613s # GObject *ret; 613s # GObject *source_object; 613s # source_object = g_async_result_get_source_object (res); 613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 613s # g_object_unref (source_object); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_proxy_new_for_bus_sync: 613s # * @bus_type: A #GBusType. 613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 613s # * @name: A bus name (well-known or unique). 613s # * @object_path: An object path. 613s # * @cancellable: (nullable): A #GCancellable or %NULL. 613s # * @error: Return location for error or %NULL 613s # * 613s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 613s # * 613s # * The calling thread is blocked until a reply is received. 613s # * 613s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error) 613s # { 613s # GInitable *ret; 613s # 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); 613s # if (ret != NULL) 613s # return COM_ACME_COYOTE (ret); 613s # else 613s # return NULL; 613s # } 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # 613s # /** 613s # * ComAcmeCoyoteSkeleton: 613s # * 613s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 613s # */ 613s # 613s # /** 613s # * ComAcmeCoyoteSkeletonClass: 613s # * @parent_class: The parent class. 613s # * 613s # * Class structure for #ComAcmeCoyoteSkeleton. 613s # */ 613s # 613s # struct _ComAcmeCoyoteSkeletonPrivate 613s # { 613s # GValue *properties; 613s # GList *changed_properties; 613s # GSource *changed_properties_idle_source; 613s # GMainContext *context; 613s # GMutex lock; 613s # }; 613s # 613s # static void 613s # _com_acme_coyote_skeleton_handle_method_call ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name, 613s # const gchar *method_name, 613s # GVariant *parameters, 613s # GDBusMethodInvocation *invocation, 613s # gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # _ExtendedGDBusMethodInfo *info; 613s # GVariantIter iter; 613s # GVariant *child; 613s # GValue *paramv; 613s # gsize num_params; 613s # guint num_extra; 613s # gsize n; 613s # guint signal_id; 613s # GValue return_value = G_VALUE_INIT; 613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 613s # g_assert (info != NULL); 613s # num_params = g_variant_n_children (parameters); 613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 613s # n = 0; 613s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 613s # g_value_set_object (¶mv[n++], skeleton); 613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 613s # g_value_set_object (¶mv[n++], invocation); 613s # if (info->pass_fdlist) 613s # { 613s # #ifdef G_OS_UNIX 613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 613s # #else 613s # g_assert_not_reached (); 613s # #endif 613s # } 613s # g_variant_iter_init (&iter, parameters); 613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 613s # { 613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 613s # if (arg_info->use_gvariant) 613s # { 613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 613s # g_value_set_variant (¶mv[n], child); 613s # n++; 613s # } 613s # else 613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 613s # g_variant_unref (child); 613s # } 613s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 613s # if (!g_value_get_boolean (&return_value)) 613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 613s # g_value_unset (&return_value); 613s # for (n = 0; n < num_params + num_extra; n++) 613s # g_value_unset (¶mv[n]); 613s # g_free (paramv); 613s # } 613s # 613s # static GVariant * 613s # _com_acme_coyote_skeleton_handle_get_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # GVariant *ret; 613s # ret = NULL; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # g_value_init (&value, pspec->value_type); 613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 613s # g_value_unset (&value); 613s # } 613s # return ret; 613s # } 613s # 613s # static gboolean 613s # _com_acme_coyote_skeleton_handle_set_property ( 613s # GDBusConnection *connection G_GNUC_UNUSED, 613s # const gchar *sender G_GNUC_UNUSED, 613s # const gchar *object_path G_GNUC_UNUSED, 613s # const gchar *interface_name G_GNUC_UNUSED, 613s # const gchar *property_name, 613s # GVariant *variant, 613s # GError **error, 613s # gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # GValue value = G_VALUE_INIT; 613s # GParamSpec *pspec; 613s # _ExtendedGDBusPropertyInfo *info; 613s # gboolean ret; 613s # ret = FALSE; 613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 613s # g_assert (info != NULL); 613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 613s # if (pspec == NULL) 613s # { 613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 613s # } 613s # else 613s # { 613s # if (info->use_gvariant) 613s # g_value_set_variant (&value, variant); 613s # else 613s # g_dbus_gvariant_to_gvalue (variant, &value); 613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 613s # g_value_unset (&value); 613s # ret = TRUE; 613s # } 613s # return ret; 613s # } 613s # 613s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 613s # { 613s # _com_acme_coyote_skeleton_handle_method_call, 613s # _com_acme_coyote_skeleton_handle_get_property, 613s # _com_acme_coyote_skeleton_handle_set_property, 613s # {NULL} 613s # }; 613s # 613s # static GDBusInterfaceInfo * 613s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return com_acme_coyote_interface_info (); 613s # } 613s # 613s # static GDBusInterfaceVTable * 613s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 613s # { 613s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 613s # } 613s # 613s # static GVariant * 613s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 613s # 613s # GVariantBuilder builder; 613s # guint n; 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #else 613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 613s # #endif 613s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 613s # goto out; 613s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 613s # { 613s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 613s # { 613s # GVariant *value; 613s # 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); 613s # if (value != NULL) 613s # { 613s # g_variant_take_ref (value); 613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 613s # g_variant_unref (value); 613s # } 613s # } 613s # } 613s # out: 613s # return g_variant_builder_end (&builder); 613s # } 613s # 613s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 613s # 613s # static void 613s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 613s # gboolean emit_changed = FALSE; 613s # 613s # g_mutex_lock (&skeleton->priv->lock); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # { 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # skeleton->priv->changed_properties_idle_source = NULL; 613s # emit_changed = TRUE; 613s # } 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # 613s # if (emit_changed) 613s # _com_acme_coyote_emit_changed (skeleton); 613s # } 613s # 613s # static void 613s # _com_acme_coyote_on_signal_surprised ( 613s # ComAcmeCoyote *object) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # 613s # GList *connections, *l; 613s # GVariant *signal_variant; 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # 613s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 613s # for (l = connections; l != NULL; l = l->next) 613s # { 613s # GDBusConnection *connection = l->data; 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 613s # signal_variant, NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # 613s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 613s # 613s # #else 613s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 613s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 613s # 613s # #endif 613s # static void 613s # com_acme_coyote_skeleton_finalize (GObject *object) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # guint n; 613s # for (n = 0; n < 1; n++) 613s # g_value_unset (&skeleton->priv->properties[n]); 613s # g_free (skeleton->priv->properties); 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # if (skeleton->priv->changed_properties_idle_source != NULL) 613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 613s # g_main_context_unref (skeleton->priv->context); 613s # g_mutex_clear (&skeleton->priv->lock); 613s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_get_property (GObject *object, 613s # guint prop_id, 613s # GValue *value, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # g_mutex_lock (&skeleton->priv->lock); 613s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # } 613s # 613s # static gboolean 613s # _com_acme_coyote_emit_changed (gpointer user_data) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 613s # GList *l; 613s # GVariantBuilder builder; 613s # GVariantBuilder invalidated_builder; 613s # guint num_changes; 613s # 613s # g_mutex_lock (&skeleton->priv->lock); 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 613s # #else 613s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 613s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 613s # #endif 613s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 613s # { 613s # ChangedProperty *cp = l->data; 613s # GVariant *variant; 613s # const GValue *cur_value; 613s # 613s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 613s # if (!_g_value_equal (cur_value, &cp->orig_value)) 613s # { 613s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 613s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 613s # g_variant_unref (variant); 613s # num_changes++; 613s # } 613s # } 613s # if (num_changes > 0) 613s # { 613s # GList *connections, *ll; 613s # GVariant *signal_variant; 613s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 613s # &builder, &invalidated_builder)); 613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 613s # for (ll = connections; ll != NULL; ll = ll->next) 613s # { 613s # GDBusConnection *connection = ll->data; 613s # 613s # g_dbus_connection_emit_signal (connection, 613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 613s # "org.freedesktop.DBus.Properties", 613s # "PropertiesChanged", 613s # signal_variant, 613s # NULL); 613s # } 613s # g_variant_unref (signal_variant); 613s # g_list_free_full (connections, g_object_unref); 613s # } 613s # else 613s # { 613s # g_variant_builder_clear (&builder); 613s # g_variant_builder_clear (&invalidated_builder); 613s # } 613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 613s # skeleton->priv->changed_properties = NULL; 613s # skeleton->priv->changed_properties_idle_source = NULL; 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # return FALSE; 613s # } 613s # 613s # static void 613s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 613s # { 613s # ChangedProperty *cp; 613s # GList *l; 613s # cp = NULL; 613s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 613s # { 613s # ChangedProperty *i_cp = l->data; 613s # if (i_cp->info == info) 613s # { 613s # cp = i_cp; 613s # break; 613s # } 613s # } 613s # if (cp == NULL) 613s # { 613s # cp = g_new0 (ChangedProperty, 1); 613s # cp->prop_id = prop_id; 613s # cp->info = info; 613s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 613s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 613s # g_value_copy (orig_value, &cp->orig_value); 613s # } 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_notify (GObject *object, 613s # GParamSpec *pspec G_GNUC_UNUSED) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # g_mutex_lock (&skeleton->priv->lock); 613s # if (skeleton->priv->changed_properties != NULL && 613s # skeleton->priv->changed_properties_idle_source == NULL) 613s # { 613s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 613s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 613s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 613s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 613s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 613s # g_source_unref (skeleton->priv->changed_properties_idle_source); 613s # } 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_set_property (GObject *object, 613s # guint prop_id, 613s # const GValue *value, 613s # GParamSpec *pspec) 613s # { 613s # const _ExtendedGDBusPropertyInfo *info; 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 613s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 613s # g_mutex_lock (&skeleton->priv->lock); 613s # g_object_freeze_notify (object); 613s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 613s # { 613s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 613s # info->emits_changed_signal) 613s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 613s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 613s # g_object_notify_by_pspec (object, pspec); 613s # } 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # g_object_thaw_notify (object); 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 613s # { 613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 613s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 613s # #else 613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 613s # #endif 613s # 613s # g_mutex_init (&skeleton->priv->lock); 613s # skeleton->priv->context = g_main_context_ref_thread_default (); 613s # skeleton->priv->properties = g_new0 (GValue, 1); 613s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 613s # } 613s # 613s # static const gchar * 613s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 613s # { 613s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 613s # const gchar *value; 613s # g_mutex_lock (&skeleton->priv->lock); 613s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 613s # g_mutex_unlock (&skeleton->priv->lock); 613s # return value; 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 613s # { 613s # GObjectClass *gobject_class; 613s # GDBusInterfaceSkeletonClass *skeleton_class; 613s # 613s # gobject_class = G_OBJECT_CLASS (klass); 613s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 613s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 613s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 613s # gobject_class->notify = com_acme_coyote_skeleton_notify; 613s # 613s # 613s # com_acme_coyote_override_properties (gobject_class, 1); 613s # 613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 613s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 613s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 613s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 613s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 613s # 613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 613s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 613s # #endif 613s # } 613s # 613s # static void 613s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 613s # { 613s # iface->surprised = _com_acme_coyote_on_signal_surprised; 613s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 613s # } 613s # 613s # /** 613s # * com_acme_coyote_skeleton_new: 613s # * 613s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 613s # * 613s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 613s # */ 613s # ComAcmeCoyote * 613s # com_acme_coyote_skeleton_new (void) 613s # { 613s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 613s # } 613s # Error: 613s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 613s # gdbus-codegen: /usr/bin/gdbus-codegen 613s # tmpdir: /tmp/tmpol6iaxde 613s # /tmp/tmpol6iaxde/tmpgxf0ne1d.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpol6iaxde/tmpgxf0ne1d.xml', '--output', '-', '--header'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # /* Declarations for FDPassing */ 613s # 613s # #define TYPE_FDPASSING (fdpassing_get_type ()) 613s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 613s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 613s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 613s # 613s # struct _FDPassing; 613s # typedef struct _FDPassing FDPassing; 613s # typedef struct _FDPassingIface FDPassingIface; 613s # 613s # struct _FDPassingIface 613s # { 613s # GTypeInterface parent_iface; 613s # 613s # gboolean (*handle_hello_fd) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # const gchar *arg_greeting); 613s # 613s # gboolean (*handle_no_annotation) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale); 613s # 613s # gboolean (*handle_no_annotation_nested) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GVariant *arg_files); 613s # 613s # }; 613s # 613s # GType fdpassing_get_type (void) G_GNUC_CONST; 613s # 613s # GDBusInterfaceInfo *fdpassing_interface_info (void); 613s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 613s # 613s # 613s # /* D-Bus method call completion functions: */ 613s # void fdpassing_complete_hello_fd ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # const gchar *response); 613s # 613s # void fdpassing_complete_no_annotation ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GVariant *response, 613s # const gchar *response_locale); 613s # 613s # void fdpassing_complete_no_annotation_nested ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # 613s # 613s # /* D-Bus method calls: */ 613s # void fdpassing_call_hello_fd ( 613s # FDPassing *proxy, 613s # const gchar *arg_greeting, 613s # GUnixFDList *fd_list, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_hello_fd_finish ( 613s # FDPassing *proxy, 613s # gchar **out_response, 613s # GUnixFDList **out_fd_list, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_hello_fd_sync ( 613s # FDPassing *proxy, 613s # const gchar *arg_greeting, 613s # GUnixFDList *fd_list, 613s # gchar **out_response, 613s # GUnixFDList **out_fd_list, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_call_no_annotation ( 613s # FDPassing *proxy, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_no_annotation_finish ( 613s # FDPassing *proxy, 613s # GVariant **out_response, 613s # gchar **out_response_locale, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_no_annotation_sync ( 613s # FDPassing *proxy, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale, 613s # GVariant **out_response, 613s # gchar **out_response_locale, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_call_no_annotation_nested ( 613s # FDPassing *proxy, 613s # GVariant *arg_files, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_no_annotation_nested_finish ( 613s # FDPassing *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_no_annotation_nested_sync ( 613s # FDPassing *proxy, 613s # GVariant *arg_files, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 613s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 613s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 613s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 613s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 613s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 613s # 613s # typedef struct _FDPassingProxy FDPassingProxy; 613s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 613s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 613s # 613s # struct _FDPassingProxy 613s # { 613s # /*< private >*/ 613s # GDBusProxy parent_instance; 613s # FDPassingProxyPrivate *priv; 613s # }; 613s # 613s # struct _FDPassingProxyClass 613s # { 613s # GDBusProxyClass parent_class; 613s # }; 613s # 613s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 613s # #endif 613s # 613s # void fdpassing_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # FDPassing *fdpassing_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # FDPassing *fdpassing_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 613s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 613s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 613s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 613s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 613s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 613s # 613s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 613s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 613s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 613s # 613s # struct _FDPassingSkeleton 613s # { 613s # /*< private >*/ 613s # GDBusInterfaceSkeleton parent_instance; 613s # FDPassingSkeletonPrivate *priv; 613s # }; 613s # 613s # struct _FDPassingSkeletonClass 613s # { 613s # GDBusInterfaceSkeletonClass parent_class; 613s # }; 613s # 613s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 613s # #endif 613s # 613s # FDPassing *fdpassing_skeleton_new (void); 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s # 613s # /tmp/tmpol6iaxde/tmpzfvs1nee.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpol6iaxde/tmpzfvs1nee.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # /* Declarations for FDPassing */ 613s # 613s # #define TYPE_FDPASSING (fdpassing_get_type ()) 613s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 613s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 613s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 613s # 613s # struct _FDPassing; 613s # typedef struct _FDPassing FDPassing; 613s # typedef struct _FDPassingIface FDPassingIface; 613s # 613s # struct _FDPassingIface 613s # { 613s # GTypeInterface parent_iface; 613s # 613s # gboolean (*handle_hello_fd) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # const gchar *arg_greeting); 613s # 613s # gboolean (*handle_no_annotation) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale); 613s # 613s # gboolean (*handle_no_annotation_nested) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GVariant *arg_files); 613s # 613s # }; 613s # 613s # GType fdpassing_get_type (void) G_GNUC_CONST; 613s # 613s # GDBusInterfaceInfo *fdpassing_interface_info (void); 613s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 613s # 613s # 613s # /* D-Bus method call completion functions: */ 613s # void fdpassing_complete_hello_fd ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # const gchar *response); 613s # 613s # void fdpassing_complete_no_annotation ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GVariant *response, 613s # const gchar *response_locale); 613s # 613s # void fdpassing_complete_no_annotation_nested ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation); 613s # 613s # 613s # 613s # /* D-Bus method calls: */ 613s # void fdpassing_call_hello_fd ( 613s # FDPassing *proxy, 613s # const gchar *arg_greeting, 613s # GUnixFDList *fd_list, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_hello_fd_finish ( 613s # FDPassing *proxy, 613s # gchar **out_response, 613s # GUnixFDList **out_fd_list, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_hello_fd_sync ( 613s # FDPassing *proxy, 613s # const gchar *arg_greeting, 613s # GUnixFDList *fd_list, 613s # gchar **out_response, 613s # GUnixFDList **out_fd_list, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_call_no_annotation ( 613s # FDPassing *proxy, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_no_annotation_finish ( 613s # FDPassing *proxy, 613s # GVariant **out_response, 613s # gchar **out_response_locale, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_no_annotation_sync ( 613s # FDPassing *proxy, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale, 613s # GVariant **out_response, 613s # gchar **out_response_locale, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_call_no_annotation_nested ( 613s # FDPassing *proxy, 613s # GVariant *arg_files, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_no_annotation_nested_finish ( 613s # FDPassing *proxy, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_no_annotation_nested_sync ( 613s # FDPassing *proxy, 613s # GVariant *arg_files, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 613s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 613s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 613s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 613s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 613s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 613s # 613s # typedef struct _FDPassingProxy FDPassingProxy; 613s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 613s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 613s # 613s # struct _FDPassingProxy 613s # { 613s # /*< private >*/ 613s # GDBusProxy parent_instance; 613s # FDPassingProxyPrivate *priv; 613s # }; 613s # 613s # struct _FDPassingProxyClass 613s # { 613s # GDBusProxyClass parent_class; 613s # }; 613s # 613s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 613s # #endif 613s # 613s # void fdpassing_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # FDPassing *fdpassing_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # FDPassing *fdpassing_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 613s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 613s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 613s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 613s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 613s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 613s # 613s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 613s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 613s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 613s # 613s # struct _FDPassingSkeleton 613s # { 613s # /*< private >*/ 613s # GDBusInterfaceSkeleton parent_instance; 613s # FDPassingSkeletonPrivate *priv; 613s # }; 613s # 613s # struct _FDPassingSkeletonClass 613s # { 613s # GDBusInterfaceSkeletonClass parent_class; 613s # }; 613s # 613s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 613s # #endif 613s # 613s # FDPassing *fdpassing_skeleton_new (void); 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s # 613s # /tmp/tmpol6iaxde/tmp_e2wqjby.xml: 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # 613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpol6iaxde/tmp_e2wqjby.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 613s # Return code: 0 613s # Output: 613s # /* 613s # * This file is generated by gdbus-codegen, do not modify it. 613s # * 613s # * The license of this code is the same as for the D-Bus interface description 613s # * it was derived from. Note that it links to GLib, so must comply with the 613s # * LGPL linking clauses. 613s # */ 613s # 613s # #ifndef __STDOUT__ 613s # #define __STDOUT__ 613s # 613s # #include 613s # 613s # G_BEGIN_DECLS 613s # 613s # 613s # /* ------------------------------------------------------------------------ */ 613s # /* Declarations for FDPassing */ 613s # 613s # #define TYPE_FDPASSING (fdpassing_get_type ()) 613s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 613s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 613s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 613s # 613s # struct _FDPassing; 613s # typedef struct _FDPassing FDPassing; 613s # typedef struct _FDPassingIface FDPassingIface; 613s # 613s # struct _FDPassingIface 613s # { 613s # GTypeInterface parent_iface; 613s # 613s # gboolean (*handle_hello_fd) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # const gchar *arg_greeting); 613s # 613s # gboolean (*handle_no_annotation) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale); 613s # 613s # gboolean (*handle_no_annotation_nested) ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # GVariant *arg_files); 613s # 613s # }; 613s # 613s # GType fdpassing_get_type (void) G_GNUC_CONST; 613s # 613s # GDBusInterfaceInfo *fdpassing_interface_info (void); 613s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 613s # 613s # 613s # /* D-Bus method call completion functions: */ 613s # void fdpassing_complete_hello_fd ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # const gchar *response); 613s # 613s # void fdpassing_complete_no_annotation ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list, 613s # GVariant *response, 613s # const gchar *response_locale); 613s # 613s # void fdpassing_complete_no_annotation_nested ( 613s # FDPassing *object, 613s # GDBusMethodInvocation *invocation, 613s # GUnixFDList *fd_list); 613s # 613s # 613s # 613s # /* D-Bus method calls: */ 613s # void fdpassing_call_hello_fd ( 613s # FDPassing *proxy, 613s # const gchar *arg_greeting, 613s # GDBusCallFlags call_flags, 613s # gint timeout_msec, 613s # GUnixFDList *fd_list, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_hello_fd_finish ( 613s # FDPassing *proxy, 613s # gchar **out_response, 613s # GUnixFDList **out_fd_list, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_hello_fd_sync ( 613s # FDPassing *proxy, 613s # const gchar *arg_greeting, 613s # GDBusCallFlags call_flags, 613s # gint timeout_msec, 613s # GUnixFDList *fd_list, 613s # gchar **out_response, 613s # GUnixFDList **out_fd_list, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_call_no_annotation ( 613s # FDPassing *proxy, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale, 613s # GDBusCallFlags call_flags, 613s # gint timeout_msec, 613s # GUnixFDList *fd_list, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_no_annotation_finish ( 613s # FDPassing *proxy, 613s # GVariant **out_response, 613s # gchar **out_response_locale, 613s # GUnixFDList **out_fd_list, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_no_annotation_sync ( 613s # FDPassing *proxy, 613s # GVariant *arg_greeting, 613s # const gchar *arg_greeting_locale, 613s # GDBusCallFlags call_flags, 613s # gint timeout_msec, 613s # GUnixFDList *fd_list, 613s # GVariant **out_response, 613s # gchar **out_response_locale, 613s # GUnixFDList **out_fd_list, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_call_no_annotation_nested ( 613s # FDPassing *proxy, 613s # GVariant *arg_files, 613s # GDBusCallFlags call_flags, 613s # gint timeout_msec, 613s # GUnixFDList *fd_list, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # 613s # gboolean fdpassing_call_no_annotation_nested_finish ( 613s # FDPassing *proxy, 613s # GUnixFDList **out_fd_list, 613s # GAsyncResult *res, 613s # GError **error); 613s # 613s # gboolean fdpassing_call_no_annotation_nested_sync ( 613s # FDPassing *proxy, 613s # GVariant *arg_files, 613s # GDBusCallFlags call_flags, 613s # gint timeout_msec, 613s # GUnixFDList *fd_list, 613s # GUnixFDList **out_fd_list, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 613s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 613s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 613s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 613s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 613s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 613s # 613s # typedef struct _FDPassingProxy FDPassingProxy; 613s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 613s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 613s # 613s # struct _FDPassingProxy 613s # { 613s # /*< private >*/ 613s # GDBusProxy parent_instance; 613s # FDPassingProxyPrivate *priv; 613s # }; 613s # 613s # struct _FDPassingProxyClass 613s # { 613s # GDBusProxyClass parent_class; 613s # }; 613s # 613s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 613s # #endif 613s # 613s # void fdpassing_proxy_new ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # FDPassing *fdpassing_proxy_new_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # FDPassing *fdpassing_proxy_new_sync ( 613s # GDBusConnection *connection, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # void fdpassing_proxy_new_for_bus ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GAsyncReadyCallback callback, 613s # gpointer user_data); 613s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 613s # GAsyncResult *res, 613s # GError **error); 613s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 613s # GBusType bus_type, 613s # GDBusProxyFlags flags, 613s # const gchar *name, 613s # const gchar *object_path, 613s # GCancellable *cancellable, 613s # GError **error); 613s # 613s # 613s # /* ---- */ 613s # 613s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 613s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 613s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 613s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 613s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 613s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 613s # 613s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 613s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 613s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 613s # 613s # struct _FDPassingSkeleton 613s # { 613s # /*< private >*/ 613s # GDBusInterfaceSkeleton parent_instance; 613s # FDPassingSkeletonPrivate *priv; 613s # }; 613s # 613s # struct _FDPassingSkeletonClass 613s # { 613s # GDBusInterfaceSkeletonClass parent_class; 613s # }; 613s # 613s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 613s # 613s # #if GLIB_CHECK_VERSION(2, 44, 0) 613s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 613s # #endif 613s # 613s # FDPassing *fdpassing_skeleton_new (void); 613s # 613s # 613s # G_END_DECLS 613s # 613s # #endif /* __STDOUT__ */ 613s # Error: 613s 1..39 613s ok - glib/codegen.py.test 613s # Running test: glib/power-profile-monitor.test 613s TAP version 14 613s # random seed: R02S55f743c8e9b9c1461f87772e5fcd0e54 613s 1..1 613s # Start of power-profile-monitor tests 613s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 613s ok - glib/power-profile-monitor.test 613s # Running test: glib/macros-c-11.test 613s ok - glib/macros-c-11.test 613s # Running test: glib/overflow-fallback.test 613s # Executing: glib/overflow-fallback.test 613s ok - glib/overflow-fallback.test 613s # Running test: glib/field-info.test 613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 613s ok 1 /power-profile-monitor/default 613s # End of power-profile-monitor tests 613s TAP version 14 613s # random seed: R02Sdcaca0db8d2104e6c86406ab6c24e678 613s 1..4 613s # Start of C tests 613s ok 1 /C/standard-11 613s # End of C tests 613s # Start of alignof tests 613s ok 2 /alignof/fallback 613s # End of alignof tests 613s # Start of assert tests 613s ok 3 /assert/static 613s # End of assert tests 613s # Start of struct tests 613s ok 4 /struct/sizeof_member 613s # End of struct tests 613s TAP version 14 613s # random seed: R02Saf3eac4cb83d4050175f04f0b8c33622 613s 1..6 613s # Start of glib tests 613s # Start of checked-math tests 613s ok 1 /glib/checked-math/guint-add 613s ok 2 /glib/checked-math/guint-mul 613s ok 3 /glib/checked-math/guint64-add 613s ok 4 /glib/checked-math/guint64-mul 613s ok 5 /glib/checked-math/gsize-add 613s ok 6 /glib/checked-math/gsize-mul 613s # End of checked-math tests 613s # End of glib tests 613s TAP version 14 613s # random seed: R02S3876ebcf1a26ba7bd3d5285126c4974f 613s 1..4 613s # Start of field-info tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_C9KCK3/field-info/basic-struct-field/.dirs/runtime 613s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 613s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 613s ok 1 /field-info/basic-struct-field 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_C9KCK3/field-info/basic-union-field/.dirs/runtime 613s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 613s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 613s ok 2 /field-info/basic-union-field 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_C9KCK3/field-info/read-write-struct-field/.dirs/runtime 613s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 613s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 613s ok 3 /field-info/read-write-struct-field 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_C9KCK3/field-info/read-write-union-field/.dirs/runtime 613s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 613s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 613s ok 4 /field-info/read-write-union-field 613s # End of field-info tests 613s ok - glib/field-info.test 613s # Running test: glib/refcount-macro.test 613s ok - glib/refcount-macro.test 613s # Running test: glib/utils-c-17.test 613s TAP version 14 613s # random seed: R02Scc111d9fa25c16d9f304fb9cf215b662 613s 1..4 613s # Start of refcount tests 613s ok 1 /refcount/grefcount 613s ok 2 /refcount/gatomicrefcount 613s # Start of grefcount tests 613s ok 3 /refcount/grefcount/saturation 613s # End of grefcount tests 613s # Start of gatomicrefcount tests 613s ok 4 /refcount/gatomicrefcount/saturation 613s # End of gatomicrefcount tests 613s # End of refcount tests 613s TAP version 14 613s # random seed: R02S27ae7f697a4b366344aae3fd197dbbcc 613s 1..41 613s # Start of utils tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/language-names/.dirs/runtime 613s ok 1 /utils/language-names 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/locale-variants/.dirs/runtime 613s # Testing locale ‘en’ 613s # Testing locale ‘sr@latin’ 613s # Testing locale ‘fr_BE’ 613s # Testing locale ‘sr_SR@latin’ 613s # Testing locale ‘sr_SR@latin.UTF-8’ 613s # Testing locale ‘sr@latin_invalid’ 613s # Testing locale ‘sr.UTF-8@latin’ 613s # Testing locale ‘sr.UTF-8_latin’ 613s # Testing locale ‘sr.UTF-8@latin_invalid’ 613s ok 2 /utils/locale-variants 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/version/.dirs/runtime 613s ok 3 /utils/version 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/appname/.dirs/runtime 613s ok 4 /utils/appname 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/prgname-thread-safety/.dirs/runtime 613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 613s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 613s ok 5 /utils/prgname-thread-safety 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/tmpdir/.dirs/runtime 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 613s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 613s Unable to clean up temporary directory /tmp/test_utils-c-17_DE5CK3/utils/tmpdir: No such file or directory 613s ok 6 /utils/tmpdir 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/basic_bits/.dirs/runtime 613s ok 7 /utils/basic_bits 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/bits/.dirs/runtime 613s ok 8 /utils/bits 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/swap/.dirs/runtime 613s ok 9 /utils/swap 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/find-program/.dirs/runtime 613s ok 10 /utils/find-program 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/find-program-for-path/.dirs/runtime 613s ok 11 /utils/find-program-for-path 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/debug/.dirs/runtime 613s Unable to clean up temporary directory /tmp/test_utils-c-17_DE5CK3/utils/debug: No such file or directory 613s ok 12 /utils/debug 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/codeset/.dirs/runtime 613s ok 13 /utils/codeset 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/codeset2/.dirs/runtime 613s Unable to clean up temporary directory /tmp/test_utils-c-17_DE5CK3/utils/codeset2: No such file or directory 613s ok 14 /utils/codeset2 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/console-charset/.dirs/runtime 613s ok 15 /utils/console-charset 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/gettext/.dirs/runtime 613s ok 16 /utils/gettext 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/username/.dirs/runtime 613s ok 17 /utils/username 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/realname/.dirs/runtime 613s ok 18 /utils/realname 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/hostname/.dirs/runtime 613s ok 19 /utils/hostname 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/os-info/.dirs/runtime 613s # NAME: Ubuntu 613s ok 20 /utils/os-info 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/.dirs/runtime 613s ok 21 /utils/clear-pointer 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer-cast/.dirs/runtime 613s ok 22 /utils/clear-pointer-cast 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/take-pointer/.dirs/runtime 613s ok 23 /utils/take-pointer 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/clear-source/.dirs/runtime 613s ok 24 /utils/clear-source 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/misc-mem/.dirs/runtime 613s ok 25 /utils/misc-mem 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/.dirs/runtime 613s # /utils/aligned-mem summary: Aligned memory allocator 613s # Alignment must not be zero 613s # Alignment must be a power of two 613s # Alignment must be a multiple of sizeof(void*) 613s ok 26 /utils/aligned-mem 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/free-sized/.dirs/runtime 613s # /utils/free-sized summary: Check that g_free_sized() works 613s ok 27 /utils/free-sized 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/nullify/.dirs/runtime 613s ok 28 /utils/nullify 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/atexit/.dirs/runtime 613s Unable to clean up temporary directory /tmp/test_utils-c-17_DE5CK3/utils/atexit: No such file or directory 613s ok 29 /utils/atexit 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/check-setuid/.dirs/runtime 613s ok 30 /utils/check-setuid 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/int-limits/.dirs/runtime 613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 613s ok 31 /utils/int-limits 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/clear-list/.dirs/runtime 613s ok 32 /utils/clear-list 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/clear-slist/.dirs/runtime 613s ok 33 /utils/clear-slist 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/steal-handle-id/.dirs/runtime 613s ok 34 /utils/steal-handle-id 613s # Start of user-special-dirs tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/desktop/.dirs/runtime 613s ok 35 /utils/user-special-dirs/desktop 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 613s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 613s Unable to clean up temporary directory /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/load-unlocked: No such file or directory 613s ok 36 /utils/user-special-dirs/load-unlocked 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 613s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 613s Unable to clean up temporary directory /tmp/test_utils-c-17_DE5CK3/utils/user-special-dirs/reload-leaks: No such file or directory 613s ok 37 /utils/user-special-dirs/reload-leaks 613s # End of user-special-dirs tests 613s # Start of clear-pointer tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/clear-pointer/side-effects/.dirs/runtime 613s ok 38 /utils/clear-pointer/side-effects 613s # End of clear-pointer tests 613s # Start of aligned-mem tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/alignment/.dirs/runtime 613s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 613s ok 39 /utils/aligned-mem/alignment 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/zeroed/.dirs/runtime 613s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 613s ok 40 /utils/aligned-mem/zeroed 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_DE5CK3/utils/aligned-mem/free-sized/.dirs/runtime 613s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 613s ok 41 /utils/aligned-mem/free-sized 613s # Start of subprocess tests 613s # End of subprocess tests 613s # End of aligned-mem tests 613s # End of utils tests 613s ok - glib/utils-c-17.test 613s TAP version 14 613s # random seed: R02S6877a20733936f529ca7f1fdda0b915d 613s 1..7 613s # Start of strvbuilder tests 613s ok 1 /strvbuilder/empty 613s ok 2 /strvbuilder/add 613s ok 3 /strvbuilder/addv 613s ok 4 /strvbuilder/add_many 613s ok 5 /strvbuilder/take 613s ok 6 /strvbuilder/ref 613s ok 7 /strvbuilder/unref_to_strv 613s # End of strvbuilder tests 613s # Running test: glib/strvbuilder.test 613s ok - glib/strvbuilder.test 613s # Running test: glib/hash.test 613s TAP version 14 613s # random seed: R02Sf5a85318904cd3f7f30ad9cbfd7720bf 613s 1..34 613s # Start of hash tests 613s ok 1 /hash/misc 613s ok 2 /hash/one 613s ok 3 /hash/honeyman 613s ok 4 /hash/direct 613s ok 5 /hash/direct2 613s ok 6 /hash/int 613s ok 7 /hash/int64 613s ok 8 /hash/double 613s ok 9 /hash/string 613s ok 10 /hash/set 613s ok 11 /hash/set-ref 613s ok 12 /hash/ref 613s ok - glib/hash.test 613s # Running test: glib/spawn-path-search.test 613s ok 13 /hash/remove-all 613s ok 14 /hash/recursive-remove-all 613s ok 15 /hash/find 613s ok 16 /hash/foreach 613s ok 17 /hash/foreach-steal 613s ok 18 /hash/steal-extended 613s ok 19 /hash/steal-all-keys 613s ok 20 /hash/steal-all-values 613s ok 21 /hash/lookup-extended 613s ok 22 /hash/new-similar 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 613s ok 23 /hash/lookup-null-key 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 613s ok 24 /hash/destroy-modify 613s ok 25 /hash/consistency 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 613s ok 26 /hash/iter-replace 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 613s ok 27 /hash/set-insert-corruption 613s ok 28 /hash/set-to-strv 613s ok 29 /hash/get-keys-as-ptr-array 613s ok 30 /hash/get-values-as-ptr-array 613s ok 31 /hash/primes 613s # Start of int64 tests 613s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 613s ok 32 /hash/int64/collisions 613s # End of int64 tests 613s # Start of double tests 613s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 613s ok 33 /hash/double/collisions 613s # End of double tests 613s # Start of recursive-remove-all tests 613s # End of recursive-remove-all tests 613s # Start of steal-extended tests 613s ok 34 /hash/steal-extended/optional 613s # End of steal-extended tests 613s # End of hash tests 613s TAP version 14 613s # random seed: R02S9c5f212dd261ff8dca24997d3e4ef944 613s 1..7 613s # Start of spawn tests 613s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 613s # 613s # this is spawn-test-helper from glib/tests 613s # 613s ok 1 /spawn/do-not-search 613s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 613s # 613s # this is spawn-test-helper from path-test-subdir 613s # 613s ok 2 /spawn/search-path 613s # /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. 613s # 613s # this is spawn-test-helper from path-test-subdir 613s # 613s ok 3 /spawn/search-path-from-envp 613s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 613s # 613s # this is spawn-test-helper from path-test-subdir 613s # 613s ok 4 /spawn/search-path-ambiguous 613s # 613s # this is spawn-test-helper from path-test-subdir 613s # 613s ok 5 /spawn/search-path-heap-allocation 613s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 613s # 613s # this is spawn-test-helper from glib/tests 613s # 613s ok 6 /spawn/search-path-fallback-in-environ 613s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 613s # 613s # this is spawn-test-helper from glib/tests 613s # 613s ok 7 /spawn/search-path-fallback-in-envp 613s # End of spawn tests 613s ok - glib/spawn-path-search.test 613s # Running test: glib/network-monitor-race.test 613s TAP version 14 613s # random seed: R02Sf846b8dd5b1535c2c3a513780f9b914e 613s 1..1 613s # Start of network-monitor tests 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 616s ok 1 /network-monitor/create-in-thread 616s # slow test /network-monitor/create-in-thread executed in 2.31 secs 616s # End of network-monitor tests 616s ok - glib/network-monitor-race.test 616s # Running test: glib/utf8-performance.test 616s ok - glib/utf8-performance.test 616s # Running test: glib/utf8-pointer.test 616s TAP version 14 616s # random seed: R02Sda8f4e3c6d5dff3e28c8aaa3c1842c6a 616s 1..36 616s # Start of utf8 tests 616s # Start of perf tests 616s # Start of get_char tests 616s # max perf: 21.5 MB/s 616s ok 1 /utf8/perf/get_char/ascii 616s # max perf: inf MB/s 616s ok 2 /utf8/perf/get_char/latin1 616s # max perf: 160.0 MB/s 616s ok 3 /utf8/perf/get_char/cyrillic 616s # max perf: inf MB/s 616s ok 4 /utf8/perf/get_char/han 616s # End of get_char tests 616s # Start of get_char-backwards tests 616s # max perf: inf MB/s 616s ok 5 /utf8/perf/get_char-backwards/ascii 616s # max perf: inf MB/s 616s ok 6 /utf8/perf/get_char-backwards/latin1 616s # max perf: 160.0 MB/s 616s ok 7 /utf8/perf/get_char-backwards/cyrillic 616s # max perf: inf MB/s 616s ok 8 /utf8/perf/get_char-backwards/han 616s # End of get_char-backwards tests 616s # Start of get_char_validated tests 616s # max perf: inf MB/s 616s ok 9 /utf8/perf/get_char_validated/ascii 616s # max perf: 67.0 MB/s 616s ok 10 /utf8/perf/get_char_validated/latin1 616s # max perf: inf MB/s 616s ok 11 /utf8/perf/get_char_validated/cyrillic 616s # max perf: 156.0 MB/s 616s ok 12 /utf8/perf/get_char_validated/han 616s # End of get_char_validated tests 616s # Start of utf8_to_ucs4 tests 616s # max perf: 43.0 MB/s 616s ok 13 /utf8/perf/utf8_to_ucs4/ascii 616s # max perf: 67.0 MB/s 616s ok 14 /utf8/perf/utf8_to_ucs4/latin1 616s # max perf: 160.0 MB/s 616s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 616s # max perf: inf MB/s 616s ok 16 /utf8/perf/utf8_to_ucs4/han 616s # End of utf8_to_ucs4 tests 616s # Start of utf8_to_ucs4-sized tests 616s # max perf: inf MB/s 616s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 616s # max perf: 67.0 MB/s 616s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 616s # max perf: 160.0 MB/s 616s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 616s # max perf: inf MB/s 616s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 616s # End of utf8_to_ucs4-sized tests 616s # Start of utf8_to_ucs4_fast tests 616s # max perf: inf MB/s 616s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 616s # max perf: 67.0 MB/s 616s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 616s # max perf: 160.0 MB/s 616s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 616s # max perf: inf MB/s 616s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 616s # End of utf8_to_ucs4_fast tests 616s # Start of utf8_to_ucs4_fast-sized tests 616s # max perf: 43.0 MB/s 616s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 616s # max perf: 67.0 MB/s 616s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 616s # max perf: 160.0 MB/s 616s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 616s # max perf: inf MB/s 616s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 616s # End of utf8_to_ucs4_fast-sized tests 616s # Start of utf8_validate tests 616s # max perf: inf MB/s 616s ok 29 /utf8/perf/utf8_validate/ascii 616s # max perf: 67.0 MB/s 616s ok 30 /utf8/perf/utf8_validate/latin1 616s # max perf: inf MB/s 616s ok 31 /utf8/perf/utf8_validate/cyrillic 616s # max perf: 156.0 MB/s 616s ok 32 /utf8/perf/utf8_validate/han 616s # End of utf8_validate tests 616s # Start of utf8_validate-sized tests 616s # max perf: inf MB/s 616s ok 33 /utf8/perf/utf8_validate-sized/ascii 616s # max perf: inf MB/s 616s ok 34 /utf8/perf/utf8_validate-sized/latin1 616s # max perf: inf MB/s 616s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 616s # max perf: 156.0 MB/s 616s ok 36 /utf8/perf/utf8_validate-sized/han 616s # End of utf8_validate-sized tests 616s # End of perf tests 616s # End of utf8 tests 616s TAP version 14 616s # random seed: R02S3d4fcad2fa45b03e5fb0bcfcecf49b68 616s 1..3 616s # Start of utf8 tests 616s ok - glib/utf8-pointer.test 616s ok 1 /utf8/offsets 616s # slow test /utf8/offsets executed in 0.76 secs 616s ok 2 /utf8/lengths 616s ok 3 /utf8/find 616s # End of utf8 tests 616s # Running test: glib/closure.test 616s TAP version 14 616s # random seed: R02Sfc41a37ad44c566aef7bcd145d395b74 616s 1..6 616s # Start of closure tests 616s ok 1 /closure/idle 616s ok 2 /closure/timeout 616s ok 3 /closure/iochannel 616s ok 4 /closure/child 616s ok 5 /closure/fd 616s ok 6 /closure/signal 616s # End of closure tests 616s ok - glib/closure.test 616s # Running test: glib/utils.test 616s TAP version 14 616s # random seed: R02S42b9322a310118fa0fbeea5aebc31a66 616s 1..41 616s # Start of utils tests 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/language-names/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/language-names/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/language-names/.dirs/runtime 616s ok 1 /utils/language-names 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/locale-variants/.dirs/runtime 616s # Testing locale ‘en’ 616s # Testing locale ‘sr@latin’ 616s # Testing locale ‘fr_BE’ 616s # Testing locale ‘sr_SR@latin’ 616s # Testing locale ‘sr_SR@latin.UTF-8’ 616s # Testing locale ‘sr@latin_invalid’ 616s # Testing locale ‘sr.UTF-8@latin’ 616s # Testing locale ‘sr.UTF-8_latin’ 616s # Testing locale ‘sr.UTF-8@latin_invalid’ 616s ok 2 /utils/locale-variants 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/version/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/version/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/version/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/version/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/version/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/version/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/version/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/version/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/version/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/version/.dirs/runtime 616s ok 3 /utils/version 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/appname/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/appname/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/appname/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/appname/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/appname/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/appname/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/appname/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/appname/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/appname/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/appname/.dirs/runtime 616s ok 4 /utils/appname 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/prgname-thread-safety/.dirs/runtime 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 616s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 616s ok 5 /utils/prgname-thread-safety 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/tmpdir/.dirs/runtime 616s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 616s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 616s Unable to clean up temporary directory /tmp/test_utils_B8X6J3/utils/tmpdir: No such file or directory 616s ok 6 /utils/tmpdir 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/basic_bits/.dirs/runtime 616s ok 7 /utils/basic_bits 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/bits/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/bits/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/bits/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/bits/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/bits/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/bits/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/bits/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/bits/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/bits/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/bits/.dirs/runtime 616s ok 8 /utils/bits 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/swap/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/swap/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/swap/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/swap/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/swap/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/swap/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/swap/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/swap/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/swap/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/swap/.dirs/runtime 616s ok 9 /utils/swap 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/find-program/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/find-program/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/find-program/.dirs/runtime 616s ok 10 /utils/find-program 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/find-program-for-path/.dirs/runtime 616s ok 11 /utils/find-program-for-path 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/debug/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/debug/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/debug/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/debug/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/debug/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/debug/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/debug/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/debug/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/debug/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/debug/.dirs/runtime 616s Unable to clean up temporary directory /tmp/test_utils_B8X6J3/utils/debug: No such file or directory 616s ok 12 /utils/debug 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/codeset/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/codeset/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/codeset/.dirs/runtime 616s ok 13 /utils/codeset 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/codeset2/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/codeset2/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/codeset2/.dirs/runtime 616s Unable to clean up temporary directory /tmp/test_utils_B8X6J3/utils/codeset2: No such file or directory 616s ok 14 /utils/codeset2 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/console-charset/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/console-charset/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/console-charset/.dirs/runtime 616s ok 15 /utils/console-charset 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/gettext/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/gettext/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/gettext/.dirs/runtime 616s ok 16 /utils/gettext 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/username/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/username/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/username/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/username/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/username/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/username/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/username/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/username/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/username/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/username/.dirs/runtime 616s ok 17 /utils/username 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/realname/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/realname/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/realname/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/realname/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/realname/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/realname/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/realname/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/realname/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/realname/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/realname/.dirs/runtime 616s ok 18 /utils/realname 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/hostname/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/hostname/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/hostname/.dirs/runtime 616s ok 19 /utils/hostname 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/os-info/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/os-info/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/os-info/.dirs/runtime 616s # NAME: Ubuntu 616s ok 20 /utils/os-info 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/clear-pointer/.dirs/runtime 616s ok 21 /utils/clear-pointer 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/clear-pointer-cast/.dirs/runtime 616s ok 22 /utils/clear-pointer-cast 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/take-pointer/.dirs/runtime 616s ok 23 /utils/take-pointer 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/clear-source/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/clear-source/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/clear-source/.dirs/runtime 616s ok 24 /utils/clear-source 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/misc-mem/.dirs/runtime 616s ok 25 /utils/misc-mem 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/aligned-mem/.dirs/runtime 616s # /utils/aligned-mem summary: Aligned memory allocator 616s # Alignment must not be zero 616s # Alignment must be a power of two 616s # Alignment must be a multiple of sizeof(void*) 616s ok 26 /utils/aligned-mem 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/free-sized/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/free-sized/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/free-sized/.dirs/runtime 616s # /utils/free-sized summary: Check that g_free_sized() works 616s ok 27 /utils/free-sized 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/nullify/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/nullify/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/nullify/.dirs/runtime 616s ok 28 /utils/nullify 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/atexit/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/atexit/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/atexit/.dirs/runtime 616s Unable to clean up temporary directory /tmp/test_utils_B8X6J3/utils/atexit: No such file or directory 616s ok 29 /utils/atexit 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/check-setuid/.dirs/runtime 616s ok 30 /utils/check-setuid 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/int-limits/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/int-limits/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/int-limits/.dirs/runtime 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 616s ok 31 /utils/int-limits 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/clear-list/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/clear-list/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/clear-list/.dirs/runtime 616s ok 32 /utils/clear-list 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/clear-slist/.dirs/runtime 616s ok 33 /utils/clear-slist 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/steal-handle-id/.dirs/runtime 616s ok 34 /utils/steal-handle-id 616s # Start of user-special-dirs tests 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/user-special-dirs/desktop/.dirs/runtime 616s ok 35 /utils/user-special-dirs/desktop 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 616s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 616s Unable to clean up temporary directory /tmp/test_utils_B8X6J3/utils/user-special-dirs/load-unlocked: No such file or directory 616s ok 36 /utils/user-special-dirs/load-unlocked 616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/home 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/cache 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/config 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/data 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/state 616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 616s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 617s Unable to clean up temporary directory /tmp/test_utils_B8X6J3/utils/user-special-dirs/reload-leaks: No such file or directory 617s ok 37 /utils/user-special-dirs/reload-leaks 617s # End of user-special-dirs tests 617s # Start of clear-pointer tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/clear-pointer/side-effects/.dirs/runtime 617s ok 38 /utils/clear-pointer/side-effects 617s # End of clear-pointer tests 617s # Start of aligned-mem tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/aligned-mem/alignment/.dirs/runtime 617s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 617s ok 39 /utils/aligned-mem/alignment 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/aligned-mem/zeroed/.dirs/runtime 617s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 617s ok 40 /utils/aligned-mem/zeroed 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_B8X6J3/utils/aligned-mem/free-sized/.dirs/runtime 617s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 617s ok 41 /utils/aligned-mem/free-sized 617s # Start of subprocess tests 617s # End of subprocess tests 617s # End of aligned-mem tests 617s # End of utils tests 617s ok - glib/utils.test 617s # Running test: glib/gdbus-subscribe.test 617s TAP version 14 617s # random seed: R02S0e695c4085dd937f68db5579d17ed8fc 617s 1..24 617s # Start of gdbus tests 617s # Start of subscribe tests 617s # Start of conn tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/simple/.dirs/runtime 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 617s # Step 0: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 1: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 2: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 2 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 1 /gdbus/subscribe/conn/simple 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 617s # Step 0: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: service 2 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 3: emitting signal 617s # Sender: service 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 4: emitting signal 617s # Sender: service 2 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 1 617s # Signal received from service 2 :1.2 617s # Signal received from service 2 :1.2 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 2 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 3 617s # Signal received from service 2 :1.2 617s # Signal received from service 2 :1.2 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/match_twice/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 617s # Step 0: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 1: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: (any) 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 2: adding subscription 617s # Sender: (any) 617s # Path: (any) 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 3: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 4: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 3 /gdbus/subscribe/conn/match_twice 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 617s # Step 0: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 3: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 3 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 617s # Step 0: adding subscription 617s # Sender: :0.this.had.better.not.exist 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 617s # Step 0: claiming bus name 617s # Name: org.gtk.Test.AlreadyOwned 617s # Owner: service 617s # Step 1: adding subscription 617s # Sender: org.gtk.Test.AlreadyOwned 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 2: adding subscription 617s # Sender: org.gtk.Test.OwnedLater 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 3: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 4: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 5: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 6: claiming bus name 617s # Name: org.gtk.Test.OwnedLater 617s # Owner: service 617s # Step 7: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 5 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 617s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 617s # Step 0: adding subscription 617s # Sender: org.freedesktop.DBus 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # String argument 0: would I lie to you? 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # Waiting for signal to reach message bus 617s # Step 3: claiming bus name 617s # Name: org.gtk.Test.OwnedLater 617s # Owner: service 617s # Signal received from message bus org.freedesktop.DBus 617s # Signal received from (unused) org.freedesktop.DBus via connection 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 617s # Step 0: claiming bus name 617s # Name: org.gtk.Test.AlreadyOwned 617s # Owner: service 617s # Step 1: adding subscription 617s # Sender: org.gtk.Test.AlreadyOwned 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Immediately unsubscribing 617s # Waiting for AddMatch to be processed 617s # Step 2: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 617s # End of conn tests 617s # Start of proxy tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/simple/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 617s # Step 0: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 1: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 2: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 9 /gdbus/subscribe/proxy/simple 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 617s # Step 0: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: service 2 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 3: emitting signal 617s # Sender: service 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 4: emitting signal 617s # Sender: service 2 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 617s # Step 0: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: (any) 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 2: adding subscription 617s # Sender: (any) 617s # Path: (any) 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 3: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 4: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 11 /gdbus/subscribe/proxy/match_twice 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 617s # Step 0: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 3: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 3 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 617s # Step 0: adding subscription 617s # Sender: :0.this.had.better.not.exist 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 617s # Step 0: claiming bus name 617s # Name: org.gtk.Test.AlreadyOwned 617s # Owner: service 617s # Step 1: adding subscription 617s # Sender: org.gtk.Test.AlreadyOwned 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 2: adding subscription 617s # Sender: org.gtk.Test.OwnedLater 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 3: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 4: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 5: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 6: claiming bus name 617s # Name: org.gtk.Test.OwnedLater 617s # Owner: service 617s # Step 7: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 5 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 617s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 617s # Step 0: adding subscription 617s # Sender: org.freedesktop.DBus 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # String argument 0: would I lie to you? 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # Waiting for signal to reach message bus 617s # Step 3: claiming bus name 617s # Name: org.gtk.Test.OwnedLater 617s # Owner: service 617s # Signal received from message bus org.freedesktop.DBus 617s # Signal received from (unused) org.freedesktop.DBus via proxy 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 617s # Step 0: claiming bus name 617s # Name: org.gtk.Test.AlreadyOwned 617s # Owner: service 617s # Step 1: adding subscription 617s # Sender: org.gtk.Test.AlreadyOwned 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 2: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 2 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 617s # End of proxy tests 617s # Start of parallel tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/simple/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 617s # Step 0: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 1: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 2: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 2 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 17 /gdbus/subscribe/parallel/simple 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 617s # Step 0: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: service 2 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 3: emitting signal 617s # Sender: service 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 4: emitting signal 617s # Sender: service 2 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 1 617s # Signal received from service 2 :1.2 617s # Signal received from service 2 :1.2 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 2 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 3 617s # Signal received from service 2 :1.2 617s # Signal received from service 2 :1.2 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 617s # Step 0: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: adding subscription 617s # Sender: (any) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: (any) 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 2: adding subscription 617s # Sender: (any) 617s # Path: (any) 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Cannot subscribe via proxy: no bus name 617s # Waiting for AddMatch to be processed 617s # Step 3: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 4: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 4 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 617s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 19 /gdbus/subscribe/parallel/match_twice 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 617s # Step 0: adding subscription 617s # Sender: service :1.1 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 3: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 3 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 3 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 617s # Step 0: adding subscription 617s # Sender: :0.this.had.better.not.exist 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 617s # Step 0: claiming bus name 617s # Name: org.gtk.Test.AlreadyOwned 617s # Owner: service 617s # Step 1: adding subscription 617s # Sender: org.gtk.Test.AlreadyOwned 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 2: adding subscription 617s # Sender: org.gtk.Test.OwnedLater 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 3: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 4: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 5: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Step 6: claiming bus name 617s # Name: org.gtk.Test.OwnedLater 617s # Owner: service 617s # Step 7: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 5 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 5 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via connection 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 7 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 617s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 617s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 617s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 617s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 617s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 617s # Step 0: adding subscription 617s # Sender: org.freedesktop.DBus 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 1: emitting signal 617s # Sender: attacker 617s # Destination: (broadcast) 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # String argument 0: would I lie to you? 617s # Waiting for signal to reach message bus 617s # Step 2: emitting signal 617s # Sender: attacker 617s # Destination: subscriber :1.0 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # Waiting for signal to reach message bus 617s # Step 3: claiming bus name 617s # Name: org.gtk.Test.OwnedLater 617s # Owner: service 617s # Signal received from message bus org.freedesktop.DBus 617s # Signal received from (unused) org.freedesktop.DBus via connection 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # Signal received from message bus org.freedesktop.DBus 617s # Signal received from (unused) org.freedesktop.DBus via proxy 617s # Path: /org/freedesktop/DBus 617s # Interface: org.freedesktop.DBus 617s # Member: NameOwnerChanged 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 617s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 617s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PQZ5J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 617s # subscriber is :1.0 617s # service is :1.1 617s # service 2 is :1.2 617s # attacker is :1.3 617s # Waiting for AddMatch to be processed 617s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 617s # Step 0: claiming bus name 617s # Name: org.gtk.Test.AlreadyOwned 617s # Owner: service 617s # Step 1: adding subscription 617s # Sender: org.gtk.Test.AlreadyOwned 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: (any) 617s # String argument 0: (any) 617s # Flags: 0 617s # Subscribing via connection 617s # Immediately unsubscribing 617s # Subscribing via proxy 617s # Waiting for AddMatch to be processed 617s # Step 2: emitting signal 617s # Sender: service 617s # Destination: (broadcast) 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Waiting for signal to reach message bus 617s # Signal received from service :1.1 617s # Signal received from service :1.1 via proxy 617s # Path: /org/gtk/GDBus/ExampleInterface 617s # Interface: org.gtk.GDBus.ExampleInterface 617s # Member: Foo 617s # Argument 0: (not a string) 617s # Sent in step: 2 617s # Received Finished signal from subscriber :1.0 617s # Received Finished signal from service :1.1 617s # Received Finished signal from service 2 :1.2 617s # Received Finished signal from attacker :1.3 617s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 617s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 617s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 617s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 617s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 617s # End of parallel tests 617s # End of subscribe tests 617s # End of gdbus tests 617s ok - glib/gdbus-subscribe.test 617s # Running test: glib/unix-mounts.test 617s TAP version 14 617s # random seed: R02Sa562d19c8a44344f59272fac9c4d4c12 617s 1..4 617s # Start of unix-mounts tests 617s ok 1 /unix-mounts/is-system-fs-type 617s ok 2 /unix-mounts/is-system-device-path 617s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 617s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 617s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 617s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 617s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 617s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 617s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 617s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 617s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 617s ok 3 /unix-mounts/get-mount-points 617s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 617s ok 4 /unix-mounts/get-mount-entries 617s # End of unix-mounts tests 617s ok - glib/unix-mounts.test 617s # Running test: glib/basics-gobject.test 617s TAP version 14 617s # random seed: R02S2310616be659a26b5ff37fd505683c38 617s 1..1 617s # Start of gobject tests 617s # private data during initialization: 54321 == 54321 617s # MAIN: emit test-signal: 617s # ::test_signal default_handler called 617s # ::test_signal default_handler called 617s # ::test_signal default_handler called 617s # signal return: "" 617s # MAIN: call iface print-string on test and derived object: 617s # Iface-FOO: "iface-string-from-test-type" from 0xcc721fe870 617s # Iface-BAR: "iface-string-from-derived-type" from 0xcc721fe720 617s # chaining: 617s # Iface-FOO: "iface-string-from-derived-type" from 0xcc721fe720 617s # private data after initialization: 54321 == 54321 617s ok 1 /gobject/basics 617s # End of gobject tests 617s ok - glib/basics-gobject.test 617s # Running test: glib/private.test 617s TAP version 14 617s # random seed: R02S8d5e216513c4b4ef9d0517552ff4a486 617s 1..8 617s # Start of thread tests 617s ok 1 /thread/private1 618s ok 2 /thread/private2 618s # slow test /thread/private2 executed in 1.08 secs 618s ok 3 /thread/private3 618s ok 4 /thread/staticprivate1 618s ok 5 /thread/staticprivate2 618s ok 6 /thread/staticprivate3 618s # Executing: glib/private.test 619s ok 7 /thread/staticprivate4 619s # slow test /thread/staticprivate4 executed in 1.08 secs 619s ok 8 /thread/staticprivate5 619s # End of thread tests 619s ok - glib/private.test 619s # Running test: glib/markup.test 619s TAP version 14 619s # random seed: R02Sdfe68e271deadf0df88ea79a61b0cae2 619s 1..1 619s # Start of markup tests 619s ok 1 /markup/stack 619s # End of markup tests 619s ok - glib/markup.test 619s # Running test: glib/application-command-line.test 619s TAP version 14 619s ok - glib/application-command-line.test 619s # Running test: glib/completion.test 619s ok - glib/completion.test 619s # Running test: glib/ir-parser.test 619s ok - glib/ir-parser.test 619s # Running test: glib/gdbus-address-get-session.test 619s ok - glib/gdbus-address-get-session.test 619s # Running test: glib/spawn-test.test 619s # random seed: R02S2296ae39dd4d46a0676503b95b7e676e 619s 1..1 619s # Start of application-command-line tests 619s ok 1 /application-command-line/basic-properties 619s # End of application-command-line tests 619s TAP version 14 619s # random seed: R02Sb218a409c179df5860e12b4e81ad50a2 619s 1..1 619s # Start of completion tests 619s ok 1 /completion/test-completion 619s # End of completion tests 619s TAP version 14 619s # random seed: R02S80d8978af09df1b89a800c2a08df1eda 619s 1..1 619s # Start of ir-parser tests 619s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: pushing node 1 dummy 619s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: popping node 1 dummy 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: pushing node 1 dummy 619s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: popping node 1 dummy 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: 619s # GLib-GIRepository-DEBUG: pushing node 1 dummy 619s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Errorlocal_command_line vfunc which forces g_application_run() to take a fallback error handling path 633s ok 20 /gapplication/command-line/arguments 633s # End of command-line tests 633s # Start of dbus tests 633s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 633s # Message 0 633s # Message 1 633s # Message 2 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s ok 21 /gapplication/dbus/activate 633s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 633s # Message 0 633s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 633s # Message 1 633s # Message 2 633s # Message 3 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s ok 22 /gapplication/dbus/open 633s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 633s # Message 0 633s # Message 1 633s # Message 2 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s ok 23 /gapplication/dbus/command-line 633s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s ok 24 /gapplication/dbus/command-line-done 633s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 633s # Message 0 633s # Message 1 633s # Message 2 633s # Message 3 633s # Message 4 633s # Message 5 633s # Message 6 633s # Message 7 633s # Message 8 633s # Message 9 633s # Message 10 633s # Message 11 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 633s ok 25 /gapplication/dbus/activate-action 633s # End of dbus tests 633s # End of gapplication tests 633s ok - glib/gapplication.test 633s # Running test: glib/io-channel-basic.test 633s TAP version 14 633s # random seed: R02Sa00f352c8387eab1bd3cf492b04c6757 633s 1..1 633s # Start of gio tests 633s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 633s # random seed: R02S4b7feab5c0ab666a2f1b94c00331bfd3 634s # GLib-DEBUG: io-channel-basic: child writing 8+364 bytes to 6 634s # GLib-DEBUG: io-channel-basic: ...from 5: IN 634s # GLib-DEBUG: io-channel-basic: ...from 5: 364 bytes 634s # GLib-DEBUG: io-channel-basic: ...from 5: OK 634s # GLib-DEBUG: io-channel-basic: child writing 8+3072 bytes to 6 634s # GLib-DEBUG: io-channel-basic: ...from 5: IN 634s # GLib-DEBUG: io-channel-basic: ...from 5: 3072 bytes 634s # GLib-DEBUG: io-channel-basic: ...from 5: OK 634s # GLib-DEBUG: io-channel-basic: child writing 8+3461 bytes to 6 634s # GLib-DEBUG: io-channel-basic: ...from 5: IN 634s # GLib-DEBUG: io-channel-basic: ...from 5: 3461 bytes 634s # GLib-DEBUG: io-channel-basic: ...from 5: OK 634s # GLib-DEBUG: io-channel-basic: child writing 8+3537 bytes to 6 634s # GLib-DEBUG: io-channel-basic: ...from 5: IN 634s # GLib-DEBUG: io-channel-basic: ...from 5: 3537 bytes 634s # GLib-DEBUG: io-channel-basic: ...from 5: OK 635s # GLib-DEBUG: io-channel-basic: child writing 8+3331 bytes to 6 635s # GLib-DEBUG: io-channel-basic: ...from 5: IN 635s # GLib-DEBUG: io-channel-basic: ...from 5: 3331 bytes 635s # GLib-DEBUG: io-channel-basic: ...from 5: OK 635s # GLib-DEBUG: io-channel-basic: child writing 8+4277 bytes to 6 635s # GLib-DEBUG: io-channel-basic: ...from 5: IN 635s # GLib-DEBUG: io-channel-basic: ...from 5: 4277 bytes 635s # GLib-DEBUG: io-channel-basic: ...from 5: OK 635s # GLib-DEBUG: io-channel-basic: child writing 8+1250 bytes to 6 635s # GLib-DEBUG: io-channel-basic: ...from 5: IN 635s # GLib-DEBUG: io-channel-basic: ...from 5: 1250 bytes 635s # GLib-DEBUG: io-channel-basic: ...from 5: OK 635s # GLib-DEBUG: io-channel-basic: child writing 8+1835 bytes to 6 635s # GLib-DEBUG: io-channel-basic: ...from 5: IN 635s # GLib-DEBUG: io-channel-basic: ...from 5: 1835 bytes 635s # GLib-DEBUG: io-channel-basic: ...from 5: OK 636s # GLib-DEBUG: io-channel-basic: child writing 8+671 bytes to 6 636s # GLib-DEBUG: io-channel-basic: ...from 5: IN 636s # GLib-DEBUG: io-channel-basic: ...from 5: 671 bytes 636s # GLib-DEBUG: io-channel-basic: ...from 5: OK 636s # GLib-DEBUG: io-channel-basic: child writing 8+1226 bytes to 6 636s # GLib-DEBUG: io-channel-basic: ...from 5: IN 636s # GLib-DEBUG: io-channel-basic: ...from 5: 1226 bytes 636s # GLib-DEBUG: io-channel-basic: ...from 5: OK 636s # GLib-DEBUG: io-channel-basic: child writing 8+3156 bytes to 6 636s # GLib-DEBUG: io-channel-basic: ...from 5: IN 636s # GLib-DEBUG: io-channel-basic: ...from 5: 3156 bytes 636s # GLib-DEBUG: io-channel-basic: ...from 5: OK 637s # GLib-DEBUG: io-channel-basic: child writing 8+140 bytes to 6 637s # GLib-DEBUG: io-channel-basic: ...from 5: IN 637s # GLib-DEBUG: io-channel-basic: ...from 5: 140 bytes 637s # GLib-DEBUG: io-channel-basic: ...from 5: OK 637s # GLib-DEBUG: io-channel-basic: child writing 8+4442 bytes to 6 637s # GLib-DEBUG: io-channel-basic: ...from 5: IN 637s # GLib-DEBUG: io-channel-basic: ...from 5: 4442 bytes 637s # GLib-DEBUG: io-channel-basic: ...from 5: OK 637s # GLib-DEBUG: io-channel-basic: child writing 8+1732 bytes to 6 637s # GLib-DEBUG: io-channel-basic: ...from 5: IN 637s # GLib-DEBUG: io-channel-basic: ...from 5: 1732 bytes 637s # GLib-DEBUG: io-channel-basic: ...from 5: OK 637s # GLib-DEBUG: io-channel-basic: child writing 8+3 bytes to 6 637s # GLib-DEBUG: io-channel-basic: ...from 5: IN 637s # GLib-DEBUG: io-channel-basic: ...from 5: 3 bytes 637s # GLib-DEBUG: io-channel-basic: ...from 5: OK 638s # GLib-DEBUG: io-channel-basic: child writing 8+3712 bytes to 6 638s # GLib-DEBUG: io-channel-basic: ...from 5: IN 638s # GLib-DEBUG: io-channel-basic: ...from 5: 3712 bytes 638s # GLib-DEBUG: io-channel-basic: ...from 5: OK 638s # GLib-DEBUG: io-channel-basic: child writing 8+509 bytes to 6 638s # GLib-DEBUG: io-channel-basic: ...from 5: IN 638s # GLib-DEBUG: io-channel-basic: ...from 5: 509 bytes 638s # GLib-DEBUG: io-channel-basic: ...from 5: OK 638s # GLib-DEBUG: io-channel-basic: child writing 8+388 bytes to 6 638s # GLib-DEBUG: io-channel-basic: ...from 5: IN 638s # GLib-DEBUG: io-channel-basic: ...from 5: 388 bytes 638s # GLib-DEBUG: io-channel-basic: ...from 5: OK 638s # Executing: glib/io-channel-basic.test 638s # GLib-DEBUG: io-channel-basic: child writing 8+922 bytes to 6 638s # GLib-DEBUG: io-channel-basic: ...from 5: IN 638s # GLib-DEBUG: io-channel-basic: ...from 5: 922 bytes 638s # GLib-DEBUG: io-channel-basic: ...from 5: OK 639s # GLib-DEBUG: io-channel-basic: child writing 8+4518 bytes to 6 639s # GLib-DEBUG: io-channel-basic: ...from 5: IN 639s # GLib-DEBUG: io-channel-basic: ...from 5: 4518 bytes 639s # GLib-DEBUG: io-channel-basic: ...from 5: OK 639s # GLib-DEBUG: io-channel-basic: child writing 8+3671 bytes to 6 639s # GLib-DEBUG: io-channel-basic: ...from 5: IN 639s # GLib-DEBUG: io-channel-basic: ...from 5: 3671 bytes 639s # GLib-DEBUG: io-channel-basic: ...from 5: OK 639s # GLib-DEBUG: io-channel-basic: child writing 8+425 bytes to 6 639s # GLib-DEBUG: io-channel-basic: ...from 5: IN 639s # GLib-DEBUG: io-channel-basic: ...from 5: 425 bytes 639s # GLib-DEBUG: io-channel-basic: ...from 5: OK 639s # GLib-DEBUG: io-channel-basic: child writing 8+4282 bytes to 6 639s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 639s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 639s # GLib-DEBUG: io-channel-basic: ...from 5: 4282 bytes 639s # GLib-DEBUG: io-channel-basic: ...from 5: OK 639s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 639s # random seed: R02Sad4fdb68037d33ee1ac5b690a293eabb 639s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 639s # random seed: R02Se2545afd959c1796885b774d575d24b2 639s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 639s # random seed: R02S19585b12a89e02d9f8e4a8201cfaab40 639s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 639s # random seed: R02S64822989ac0439247ba086805e1684cf 639s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 639s # random seed: R02Sfbe48f28eb4c23ae58e71e35a5fe9f10 640s # GLib-DEBUG: io-channel-basic: child writing 8+1894 bytes to 9 640s # GLib-DEBUG: io-channel-basic: ...from 8: IN 640s # GLib-DEBUG: io-channel-basic: ...from 8: 1894 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 8: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+1179 bytes to 17 640s # GLib-DEBUG: io-channel-basic: ...from 16: IN 640s # GLib-DEBUG: io-channel-basic: ...from 16: 1179 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 16: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4916 bytes to 15 640s # GLib-DEBUG: io-channel-basic: ...from 14: IN 640s # GLib-DEBUG: io-channel-basic: ...from 14: 4916 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 14: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4940 bytes to 13 640s # GLib-DEBUG: io-channel-basic: ...from 12: IN 640s # GLib-DEBUG: io-channel-basic: ...from 12: 4940 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 12: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+361 bytes to 11 640s # GLib-DEBUG: io-channel-basic: ...from 10: IN 640s # GLib-DEBUG: io-channel-basic: ...from 10: 361 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 10: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+2165 bytes to 17 640s # GLib-DEBUG: io-channel-basic: ...from 16: IN 640s # GLib-DEBUG: io-channel-basic: ...from 16: 2165 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 16: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4092 bytes to 15 640s # GLib-DEBUG: io-channel-basic: ...from 14: IN 640s # GLib-DEBUG: io-channel-basic: ...from 14: 4092 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 14: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4741 bytes to 11 640s # GLib-DEBUG: io-channel-basic: ...from 10: IN 640s # GLib-DEBUG: io-channel-basic: ...from 10: 4741 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 10: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+1662 bytes to 9 640s # GLib-DEBUG: io-channel-basic: ...from 8: IN 640s # GLib-DEBUG: io-channel-basic: ...from 8: 1662 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 8: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+3395 bytes to 13 640s # GLib-DEBUG: io-channel-basic: ...from 12: IN 640s # GLib-DEBUG: io-channel-basic: ...from 12: 3395 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 12: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+840 bytes to 17 640s # GLib-DEBUG: io-channel-basic: ...from 16: IN 640s # GLib-DEBUG: io-channel-basic: ...from 16: 840 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 16: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+260 bytes to 15 640s # GLib-DEBUG: io-channel-basic: ...from 14: IN 640s # GLib-DEBUG: io-channel-basic: ...from 14: 260 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 14: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4746 bytes to 9 640s # GLib-DEBUG: io-channel-basic: child writing 8+1450 bytes to 11 640s # GLib-DEBUG: io-channel-basic: ...from 8: IN 640s # GLib-DEBUG: io-channel-basic: ...from 8: 4746 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 8: OK 640s # GLib-DEBUG: io-channel-basic: ...from 10: IN 640s # GLib-DEBUG: io-channel-basic: ...from 10: 1450 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 10: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4979 bytes to 13 640s # GLib-DEBUG: io-channel-basic: ...from 12: IN 640s # GLib-DEBUG: io-channel-basic: ...from 12: 4979 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 12: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4901 bytes to 17 640s # GLib-DEBUG: io-channel-basic: ...from 16: IN 640s # GLib-DEBUG: io-channel-basic: ...from 16: 4901 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 16: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+3598 bytes to 15 640s # GLib-DEBUG: io-channel-basic: ...from 14: IN 640s # GLib-DEBUG: io-channel-basic: ...from 14: 3598 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 14: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+3973 bytes to 13 640s # GLib-DEBUG: io-channel-basic: ...from 12: IN 640s # GLib-DEBUG: io-channel-basic: ...from 12: 3973 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 12: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+4462 bytes to 9 640s # GLib-DEBUG: io-channel-basic: ...from 8: IN 640s # GLib-DEBUG: io-channel-basic: ...from 8: 4462 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 8: OK 640s # GLib-DEBUG: io-channel-basic: child writing 8+524 bytes to 11 640s # GLib-DEBUG: io-channel-basic: ...from 10: IN 640s # GLib-DEBUG: io-channel-basic: ...from 10: 524 bytes 640s # GLib-DEBUG: io-channel-basic: ...from 10: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+3563 bytes to 15 641s # GLib-DEBUG: io-channel-basic: ...from 14: IN 641s # GLib-DEBUG: io-channel-basic: ...from 14: 3563 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 14: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+1936 bytes to 17 641s # GLib-DEBUG: io-channel-basic: ...from 16: IN 641s # GLib-DEBUG: io-channel-basic: ...from 16: 1936 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 16: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+4631 bytes to 13 641s # GLib-DEBUG: io-channel-basic: ...from 12: IN 641s # GLib-DEBUG: io-channel-basic: ...from 12: 4631 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 12: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+3073 bytes to 11 641s # GLib-DEBUG: io-channel-basic: ...from 10: IN 641s # GLib-DEBUG: io-channel-basic: ...from 10: 3073 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 10: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+546 bytes to 9 641s # GLib-DEBUG: io-channel-basic: ...from 8: IN 641s # GLib-DEBUG: io-channel-basic: ...from 8: 546 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 8: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+4664 bytes to 15 641s # GLib-DEBUG: io-channel-basic: ...from 14: IN 641s # GLib-DEBUG: io-channel-basic: ...from 14: 4664 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 14: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+2503 bytes to 17 641s # GLib-DEBUG: io-channel-basic: ...from 16: IN 641s # GLib-DEBUG: io-channel-basic: ...from 16: 2503 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 16: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+4984 bytes to 13 641s # GLib-DEBUG: io-channel-basic: ...from 12: IN 641s # GLib-DEBUG: io-channel-basic: ...from 12: 4984 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 12: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+217 bytes to 11 641s # GLib-DEBUG: io-channel-basic: ...from 10: IN 641s # GLib-DEBUG: io-channel-basic: ...from 10: 217 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 10: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+860 bytes to 9 641s # GLib-DEBUG: io-channel-basic: ...from 8: IN 641s # GLib-DEBUG: io-channel-basic: ...from 8: 860 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 8: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+2643 bytes to 15 641s # GLib-DEBUG: io-channel-basic: ...from 14: IN 641s # GLib-DEBUG: io-channel-basic: ...from 14: 2643 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 14: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+388 bytes to 17 641s # GLib-DEBUG: io-channel-basic: ...from 16: IN 641s # GLib-DEBUG: io-channel-basic: ...from 16: 388 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 16: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+2711 bytes to 13 641s # GLib-DEBUG: io-channel-basic: ...from 12: IN 641s # GLib-DEBUG: io-channel-basic: ...from 12: 2711 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 12: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+4597 bytes to 11 641s # GLib-DEBUG: io-channel-basic: ...from 10: IN 641s # GLib-DEBUG: io-channel-basic: ...from 10: 4597 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 10: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+2256 bytes to 9 641s # GLib-DEBUG: io-channel-basic: ...from 8: IN 641s # GLib-DEBUG: io-channel-basic: ...from 8: 2256 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 8: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+4721 bytes to 15 641s # GLib-DEBUG: io-channel-basic: ...from 14: IN 641s # GLib-DEBUG: io-channel-basic: ...from 14: 4721 bytes 641s # GLib-DEBUG: io-channel-basic: ...from 14: OK 641s # GLib-DEBUG: io-channel-basic: child writing 8+2633 bytes to 17 642s # GLib-DEBUG: io-channel-basic: ...from 16: IN 642s # GLib-DEBUG: io-channel-basic: ...from 16: 2633 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 16: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+2711 bytes to 13 642s # GLib-DEBUG: io-channel-basic: ...from 12: IN 642s # GLib-DEBUG: io-channel-basic: ...from 12: 2711 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 12: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+713 bytes to 11 642s # GLib-DEBUG: io-channel-basic: ...from 10: IN 642s # GLib-DEBUG: io-channel-basic: ...from 10: 713 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 10: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+2031 bytes to 9 642s # GLib-DEBUG: io-channel-basic: ...from 8: IN 642s # GLib-DEBUG: io-channel-basic: ...from 8: 2031 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 8: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+4609 bytes to 15 642s # GLib-DEBUG: io-channel-basic: ...from 14: IN 642s # GLib-DEBUG: io-channel-basic: ...from 14: 4609 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 14: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+1861 bytes to 17 642s # GLib-DEBUG: io-channel-basic: ...from 16: IN 642s # GLib-DEBUG: io-channel-basic: ...from 16: 1861 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 16: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+4550 bytes to 13 642s # GLib-DEBUG: io-channel-basic: ...from 12: IN 642s # GLib-DEBUG: io-channel-basic: ...from 12: 4550 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 12: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+2979 bytes to 11 642s # GLib-DEBUG: io-channel-basic: ...from 10: IN 642s # GLib-DEBUG: io-channel-basic: ...from 10: 2979 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 10: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+4158 bytes to 9 642s # GLib-DEBUG: io-channel-basic: ...from 8: IN 642s # GLib-DEBUG: io-channel-basic: ...from 8: 4158 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 8: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+3004 bytes to 15 642s # GLib-DEBUG: io-channel-basic: ...from 14: IN 642s # GLib-DEBUG: io-channel-basic: ...from 14: 3004 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 14: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+2175 bytes to 13 642s # GLib-DEBUG: io-channel-basic: ...from 12: IN 642s # GLib-DEBUG: io-channel-basic: ...from 12: 2175 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 12: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+4932 bytes to 17 642s # GLib-DEBUG: io-channel-basic: ...from 16: IN 642s # GLib-DEBUG: io-channel-basic: ...from 16: 4932 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 16: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+3957 bytes to 11 642s # GLib-DEBUG: io-channel-basic: ...from 10: IN 642s # GLib-DEBUG: io-channel-basic: ...from 10: 3957 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 10: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+4214 bytes to 9 642s # GLib-DEBUG: io-channel-basic: ...from 8: IN 642s # GLib-DEBUG: io-channel-basic: ...from 8: 4214 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 8: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+436 bytes to 15 642s # GLib-DEBUG: io-channel-basic: ...from 14: IN 642s # GLib-DEBUG: io-channel-basic: ...from 14: 436 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 14: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+2964 bytes to 17 642s # GLib-DEBUG: io-channel-basic: ...from 16: IN 642s # GLib-DEBUG: io-channel-basic: ...from 16: 2964 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 16: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+3093 bytes to 13 642s # GLib-DEBUG: io-channel-basic: ...from 12: IN 642s # GLib-DEBUG: io-channel-basic: ...from 12: 3093 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 12: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+1285 bytes to 11 642s # GLib-DEBUG: io-channel-basic: ...from 10: IN 642s # GLib-DEBUG: io-channel-basic: ...from 10: 1285 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 10: OK 642s # GLib-DEBUG: io-channel-basic: child writing 8+3146 bytes to 9 642s # GLib-DEBUG: io-channel-basic: ...from 8: IN 642s # GLib-DEBUG: io-channel-basic: ...from 8: 3146 bytes 642s # GLib-DEBUG: io-channel-basic: ...from 8: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+1859 bytes to 15 643s # GLib-DEBUG: io-channel-basic: ...from 14: IN 643s # GLib-DEBUG: io-channel-basic: ...from 14: 1859 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 14: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+3870 bytes to 13 643s # GLib-DEBUG: io-channel-basic: ...from 12: IN 643s # GLib-DEBUG: io-channel-basic: ...from 12: 3870 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 12: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+755 bytes to 17 643s # GLib-DEBUG: io-channel-basic: ...from 16: IN 643s # GLib-DEBUG: io-channel-basic: ...from 16: 755 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 16: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+2979 bytes to 11 643s # GLib-DEBUG: io-channel-basic: ...from 10: IN 643s # GLib-DEBUG: io-channel-basic: ...from 10: 2979 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 10: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+755 bytes to 9 643s # GLib-DEBUG: io-channel-basic: ...from 8: IN 643s # GLib-DEBUG: io-channel-basic: ...from 8: 755 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 8: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+601 bytes to 15 643s # GLib-DEBUG: io-channel-basic: ...from 14: IN 643s # GLib-DEBUG: io-channel-basic: ...from 14: 601 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 14: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+2648 bytes to 17 643s # GLib-DEBUG: io-channel-basic: ...from 16: IN 643s # GLib-DEBUG: io-channel-basic: ...from 16: 2648 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 16: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+2459 bytes to 13 643s # GLib-DEBUG: io-channel-basic: ...from 12: IN 643s # GLib-DEBUG: io-channel-basic: ...from 12: 2459 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 12: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+3113 bytes to 11 643s # GLib-DEBUG: io-channel-basic: ...from 10: IN 643s # GLib-DEBUG: io-channel-basic: ...from 10: 3113 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 10: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+2300 bytes to 9 643s # GLib-DEBUG: io-channel-basic: ...from 8: IN 643s # GLib-DEBUG: io-channel-basic: ...from 8: 2300 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 8: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+574 bytes to 15 643s # GLib-DEBUG: io-channel-basic: ...from 14: IN 643s # GLib-DEBUG: io-channel-basic: ...from 14: 574 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 14: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+10 bytes to 17 643s # GLib-DEBUG: io-channel-basic: ...from 16: IN 643s # GLib-DEBUG: io-channel-basic: ...from 16: 10 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 16: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+3051 bytes to 13 643s # GLib-DEBUG: io-channel-basic: ...from 12: IN 643s # GLib-DEBUG: io-channel-basic: ...from 12: 3051 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 12: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+1025 bytes to 11 643s # GLib-DEBUG: io-channel-basic: ...from 10: IN 643s # GLib-DEBUG: io-channel-basic: ...from 10: 1025 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 10: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+4169 bytes to 9 643s # GLib-DEBUG: io-channel-basic: ...from 8: IN 643s # GLib-DEBUG: io-channel-basic: ...from 8: 4169 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 8: OK 643s # Executing: glib/io-channel-basic.test 643s # GLib-DEBUG: io-channel-basic: child writing 8+1509 bytes to 17 643s # GLib-DEBUG: io-channel-basic: ...from 16: IN 643s # GLib-DEBUG: io-channel-basic: ...from 16: 1509 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 16: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+4537 bytes to 15 643s # GLib-DEBUG: io-channel-basic: ...from 14: IN 643s # GLib-DEBUG: io-channel-basic: ...from 14: 4537 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 14: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+4001 bytes to 13 643s # GLib-DEBUG: io-channel-basic: ...from 12: IN 643s # GLib-DEBUG: io-channel-basic: ...from 12: 4001 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 12: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+2558 bytes to 11 643s # GLib-DEBUG: io-channel-basic: ...from 10: IN 643s # GLib-DEBUG: io-channel-basic: ...from 10: 2558 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 10: OK 643s # GLib-DEBUG: io-channel-basic: child writing 8+1981 bytes to 9 643s # GLib-DEBUG: io-channel-basic: ...from 8: IN 643s # GLib-DEBUG: io-channel-basic: ...from 8: 1981 bytes 643s # GLib-DEBUG: io-channel-basic: ...from 8: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+846 bytes to 15 644s # GLib-DEBUG: io-channel-basic: ...from 14: IN 644s # GLib-DEBUG: io-channel-basic: ...from 14: 846 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 14: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+496 bytes to 17 644s # GLib-DEBUG: io-channel-basic: ...from 16: IN 644s # GLib-DEBUG: io-channel-basic: ...from 16: 496 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 16: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+4657 bytes to 13 644s # GLib-DEBUG: io-channel-basic: ...from 12: IN 644s # GLib-DEBUG: io-channel-basic: ...from 12: 4657 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 12: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+332 bytes to 11 644s # GLib-DEBUG: io-channel-basic: ...from 10: IN 644s # GLib-DEBUG: io-channel-basic: ...from 10: 332 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 10: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+1657 bytes to 9 644s # GLib-DEBUG: io-channel-basic: ...from 8: IN 644s # GLib-DEBUG: io-channel-basic: ...from 8: 1657 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 8: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+1194 bytes to 17 644s # GLib-DEBUG: io-channel-basic: ...from 16: IN 644s # GLib-DEBUG: io-channel-basic: ...from 16: 1194 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 16: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+1163 bytes to 15 644s # GLib-DEBUG: io-channel-basic: ...from 14: IN 644s # GLib-DEBUG: io-channel-basic: ...from 14: 1163 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 14: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+630 bytes to 13 644s # GLib-DEBUG: io-channel-basic: ...from 12: IN 644s # GLib-DEBUG: io-channel-basic: ...from 12: 630 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 12: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+4457 bytes to 11 644s # GLib-DEBUG: io-channel-basic: ...from 10: IN 644s # GLib-DEBUG: io-channel-basic: ...from 10: 4457 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 10: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+2726 bytes to 9 644s # GLib-DEBUG: io-channel-basic: ...from 8: IN 644s # GLib-DEBUG: io-channel-basic: ...from 8: 2726 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 8: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+3959 bytes to 17 644s # GLib-DEBUG: io-channel-basic: ...from 16: IN 644s # GLib-DEBUG: io-channel-basic: ...from 16: 3959 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 16: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+4596 bytes to 15 644s # GLib-DEBUG: io-channel-basic: ...from 14: IN 644s # GLib-DEBUG: io-channel-basic: ...from 14: 4596 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 14: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+2564 bytes to 13 644s # GLib-DEBUG: io-channel-basic: ...from 12: IN 644s # GLib-DEBUG: io-channel-basic: ...from 12: 2564 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 12: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+4022 bytes to 11 644s # GLib-DEBUG: io-channel-basic: ...from 10: IN 644s # GLib-DEBUG: io-channel-basic: ...from 10: 4022 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 10: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+1748 bytes to 9 644s # GLib-DEBUG: io-channel-basic: ...from 8: IN 644s # GLib-DEBUG: io-channel-basic: ...from 8: 1748 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 8: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+4443 bytes to 17 644s # GLib-DEBUG: io-channel-basic: ...from 16: IN 644s # GLib-DEBUG: io-channel-basic: ...from 16: 4443 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 16: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+3411 bytes to 15 644s # GLib-DEBUG: io-channel-basic: ...from 14: IN 644s # GLib-DEBUG: io-channel-basic: ...from 14: 3411 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 14: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+1758 bytes to 13 644s # GLib-DEBUG: io-channel-basic: ...from 12: IN 644s # GLib-DEBUG: io-channel-basic: ...from 12: 1758 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 12: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+4108 bytes to 11 644s # GLib-DEBUG: io-channel-basic: ...from 10: IN 644s # GLib-DEBUG: io-channel-basic: ...from 10: 4108 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 10: OK 644s # GLib-DEBUG: io-channel-basic: child writing 8+4403 bytes to 9 644s # GLib-DEBUG: io-channel-basic: ...from 8: IN 644s # GLib-DEBUG: io-channel-basic: ...from 8: 4403 bytes 644s # GLib-DEBUG: io-channel-basic: ...from 8: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+3498 bytes to 17 645s # GLib-DEBUG: io-channel-basic: ...from 16: IN 645s # GLib-DEBUG: io-channel-basic: ...from 16: 3498 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 16: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+3192 bytes to 13 645s # GLib-DEBUG: io-channel-basic: ...from 12: IN 645s # GLib-DEBUG: io-channel-basic: ...from 12: 3192 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 12: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+623 bytes to 15 645s # GLib-DEBUG: io-channel-basic: ...from 14: IN 645s # GLib-DEBUG: io-channel-basic: ...from 14: 623 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 14: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+4358 bytes to 11 645s # GLib-DEBUG: io-channel-basic: ...from 10: IN 645s # GLib-DEBUG: io-channel-basic: ...from 10: 4358 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 10: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+4752 bytes to 9 645s # GLib-DEBUG: io-channel-basic: ...from 8: IN 645s # GLib-DEBUG: io-channel-basic: ...from 8: 4752 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 8: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+3010 bytes to 17 645s # GLib-DEBUG: io-channel-basic: ...from 16: IN 645s # GLib-DEBUG: io-channel-basic: ...from 16: 3010 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 16: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+2636 bytes to 15 645s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 645s # GLib-DEBUG: io-channel-basic: child writing 8+1655 bytes to 13 645s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 645s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 645s # GLib-DEBUG: io-channel-basic: ...from 12: 1655 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 12: OK 645s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 645s # GLib-DEBUG: io-channel-basic: ...from 14: 2636 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 14: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+1577 bytes to 11 645s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 645s # GLib-DEBUG: io-channel-basic: ...from 10: IN 645s # GLib-DEBUG: io-channel-basic: ...from 10: 1577 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 10: OK 645s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 645s # GLib-DEBUG: io-channel-basic: child writing 8+1089 bytes to 9 645s # GLib-DEBUG: io-channel-basic: ...from 8: IN 645s # GLib-DEBUG: io-channel-basic: ...from 8: 1089 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 8: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+3699 bytes to 17 645s # GLib-DEBUG: io-channel-basic: ...from 16: IN 645s # GLib-DEBUG: io-channel-basic: ...from 16: 3699 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 16: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+3548 bytes to 9 645s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 645s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 645s # GLib-DEBUG: io-channel-basic: ...from 8: 3548 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 8: OK 645s # GLib-DEBUG: io-channel-basic: child writing 8+2195 bytes to 17 645s # GLib-DEBUG: io-channel-basic: ...from 16: IN 645s # GLib-DEBUG: io-channel-basic: ...from 16: 2195 bytes 645s # GLib-DEBUG: io-channel-basic: ...from 16: OK 646s ok - glib/io-channel-basic.test 646s # GLib-DEBUG: io-channel-basic: child writing 8+4257 bytes to 17 646s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 646s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 646s # GLib-DEBUG: io-channel-basic: ...from 16: 4257 bytes 646s # GLib-DEBUG: io-channel-basic: ...from 16: OK 646s ok 1 /gio/io-basics 646s # slow test /gio/io-basics executed in 12.26 secs 646s # End of gio tests 646s # Running test: glib/giomodule.test 646s TAP version 14 646s # random seed: R02S97929bf86ac246abfd6c8363876841d3 646s 1..3 646s # Start of giomodule tests 646s ok 1 /giomodule/extension-point 646s ok 2 /giomodule/module-scan-all 646s ok 3 /giomodule/module-scan-all-with-scope 646s ok - glib/giomodule.test 646s # End of giomodule tests 646s # Running test: glib/spawn-multithreaded.test 646s TAP version 14 646s # random seed: R02Sa78984f8dfa13c54e36a27344d4cefc5 646s 1..4 646s # Start of gthread tests 647s # Child 12195 (ttl 1) exited, status 0 648s # Child 12196 (ttl 2) exited, status 0 648s ok 1 /gthread/spawn-childs 648s # slow test /gthread/spawn-childs executed in 2.00 secs 648s # Created pid: 12200 (ttl 2) 648s # Created pid: 12201 (ttl 1) 648s # Executing: glib/spawn-multithreaded.test 649s # Child 12201 (ttl 1) exited, status 0 650s # Child 12200 (ttl 2) exited, status 0 650s ok 2 /gthread/spawn-childs-threads 650s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 650s ok 3 /gthread/spawn-sync 650s ok - glib/spawn-multithreaded.test 650s # Running test: glib/struct-info.test 650s ok 4 /gthread/spawn-async 650s # End of gthread tests 650s TAP version 14 650s # random seed: R02Sd88aa6f20581f504f09b42ebfa5200f2 650s 1..4 650s # Start of struct-info tests 650s ok - glib/struct-info.test 650s # Running test: glib/genmarshal.py.test 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_BONNK3/struct-info/field-iterators/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 650s ok 1 /struct-info/field-iterators 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_BONNK3/struct-info/sizeof-gvalue/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 650s ok 2 /struct-info/sizeof-gvalue 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_BONNK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 650s ok 3 /struct-info/is-pointer-for-struct-method-arg 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_BONNK3/struct-info/boxed/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 650s ok 4 /struct-info/boxed 650s # End of struct-info tests 650s TAP version 13 650s ok 1 __main__.TestGenmarshal.test_empty_list 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmpluo23my_ 650s # /tmp/tmpluo23my_/tmp8u1wumjv.list: 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpluo23my_/tmp8u1wumjv.list', '--header', '--quiet'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 650s # Error: 650s # 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpluo23my_/tmp8u1wumjv.list', '--body', '--quiet'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #include 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # Error: 650s ok 2 __main__.TestGenmarshal.test_help 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmpuszxi92t 650s # Running: ['/usr/bin/glib-genmarshal', '--help'] 650s # Return code: 0 650s # Output: 650s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 650s # [--internal] [--valist-marshallers] [-v] 650s # [--g-fatal-warnings] [--include-header [HEADER]] 650s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 650s # [--prototypes] [--header] [--body] [--stdinc | 650s # --nostdinc] [--quiet | --verbose] 650s # [FILE ...] 650s # 650s # Generate signal marshallers for GObject 650s # 650s # positional arguments: 650s # FILE Files with lists of marshallers to generate, or "-" 650s # for standard input 650s # 650s # options: 650s # -h, --help show this help message and exit 650s # --prefix STRING Specify marshaller prefix 650s # --output FILE Write output into the specified file 650s # --skip-source Skip source location comments 650s # --internal Mark generated functions as internal 650s # --valist-marshallers Generate va_list marshallers 650s # -v, --version Print version information, and exit 650s # --g-fatal-warnings Make warnings fatal 650s # --include-header [HEADER] 650s # Include the specified header in the body 650s # --pragma-once Use "pragma once" as the inclusion guard 650s # -D CPP_DEFINES Pre-processor define 650s # -U CPP_UNDEFINES Pre-processor undefine 650s # --prototypes Generate the marshallers prototype in the C code 650s # --header Generate C headers 650s # --body Generate C code 650s # --stdinc Include standard marshallers 650s # --nostdinc Use standard marshallers 650s # --quiet Only print warnings and errors 650s # --verbose Be verbose, and include debugging information 650s # Error: 650s ok 3 __main__.TestGenmarshal.test_no_args 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmpyae113vw 650s # Running: ['/usr/bin/glib-genmarshal'] 650s # Return code: 0 650s # Output: 650s # 650s # Error: 650s ok 4 __main__.TestGenmarshal.test_void_boolean 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmp6j1ifzv0 650s # /tmp/tmp6j1ifzv0/tmpcr2z4yrn.list: VOID:BOOLEAN 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6j1ifzv0/tmpcr2z4yrn.list', '--header', '--quiet'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # /* VOID:BOOLEAN (/tmp/tmp6j1ifzv0/tmpcr2z4yrn.list:1) */ 650s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 650s # Error: 650s # 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6j1ifzv0/tmpcr2z4yrn.list', '--body', '--quiet'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #include 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # Error: 650s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmp2enrhv_s 650s # /tmp/tmp2enrhv_s/tmpb52gfeey.list: VOID:BOOLEAN,INT64 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2enrhv_s/tmpb52gfeey.list', '--header', '--quiet'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2enrhv_s/tmpb52gfeey.list:1) */ 650s # extern 650s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 650s # GValue *return_value, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint, 650s # gpointer marshal_data); 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 650s # Error: 650s # 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2enrhv_s/tmpb52gfeey.list', '--body', '--quiet'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #include 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2enrhv_s/tmpb52gfeey.list:1) */ 650s # void 650s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint G_GNUC_UNUSED, 650s # gpointer marshal_data) 650s # { 650s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 650s # gboolean arg1, 650s # gint64 arg2, 650s # gpointer data2); 650s # GCClosure *cc = (GCClosure *) closure; 650s # gpointer data1, data2; 650s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 650s # 650s # g_return_if_fail (n_param_values == 3); 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = g_value_peek_pointer (param_values + 0); 650s # } 650s # else 650s # { 650s # data1 = g_value_peek_pointer (param_values + 0); 650s # data2 = closure->data; 650s # } 650s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # g_marshal_value_peek_boolean (param_values + 1), 650s # g_marshal_value_peek_int64 (param_values + 2), 650s # data2); 650s # } 650s # Error: 650s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmpnkdv2a0_ 650s # /tmp/tmpnkdv2a0_/tmpxxq3h9qb.list: VOID:PARAM 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnkdv2a0_/tmpxxq3h9qb.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # 650s # G_BEGIN_DECLS 650s # 650s # /* VOID:PARAM (/tmp/tmpnkdv2a0_/tmpxxq3h9qb.list:1) */ 650s # extern 650s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 650s # GValue *return_value, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint, 650s # gpointer marshal_data); 650s # extern 650s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 650s # GValue *return_value, 650s # gpointer instance, 650s # va_list args, 650s # gpointer marshal_data, 650s # int n_params, 650s # GType *param_types); 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 650s # Error: 650s # 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnkdv2a0_/tmpxxq3h9qb.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # /* VOID:PARAM (/tmp/tmpnkdv2a0_/tmpxxq3h9qb.list:1) */ 650s # void 650s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint G_GNUC_UNUSED, 650s # gpointer marshal_data) 650s # { 650s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 650s # gpointer arg1, 650s # gpointer data2); 650s # GCClosure *cc = (GCClosure *) closure; 650s # gpointer data1, data2; 650s # GMarshalFunc_VOID__PARAM callback; 650s # 650s # g_return_if_fail (n_param_values == 2); 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = g_value_peek_pointer (param_values + 0); 650s # } 650s # else 650s # { 650s # data1 = g_value_peek_pointer (param_values + 0); 650s # data2 = closure->data; 650s # } 650s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # g_marshal_value_peek_param (param_values + 1), 650s # data2); 650s # } 650s # 650s # void 650s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # gpointer instance, 650s # va_list args, 650s # gpointer marshal_data, 650s # int n_params, 650s # GType *param_types) 650s # { 650s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 650s # gpointer arg1, 650s # gpointer data2); 650s # GCClosure *cc = (GCClosure *) closure; 650s # gpointer data1, data2; 650s # GMarshalFunc_VOID__PARAM callback; 650s # gpointer arg0; 650s # va_list args_copy; 650s # 650s # va_copy (args_copy, args); 650s # arg0 = (gpointer) va_arg (args_copy, gpointer); 650s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 650s # arg0 = g_param_spec_ref (arg0); 650s # va_end (args_copy); 650s # 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = instance; 650s # } 650s # else 650s # { 650s # data1 = instance; 650s # data2 = closure->data; 650s # } 650s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # arg0, 650s # data2); 650s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 650s # g_param_spec_unref (arg0); 650s # } 650s # Error: 650s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmpgcy9sygt 650s # /tmp/tmpgcy9sygt/tmpo5yw3zgj.list: VOID:STRING 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgcy9sygt/tmpo5yw3zgj.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # 650s # G_BEGIN_DECLS 650s # 650s # /* VOID:STRING (/tmp/tmpgcy9sygt/tmpo5yw3zgj.list:1) */ 650s # extern 650s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 650s # GValue *return_value, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint, 650s # gpointer marshal_data); 650s # extern 650s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 650s # GValue *return_value, 650s # gpointer instance, 650s # va_list args, 650s # gpointer marshal_data, 650s # int n_params, 650s # GType *param_types); 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 650s # Error: 650s # 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgcy9sygt/tmpo5yw3zgj.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # /* VOID:STRING (/tmp/tmpgcy9sygt/tmpo5yw3zgj.list:1) */ 650s # void 650s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint G_GNUC_UNUSED, 650s # gpointer marshal_data) 650s # { 650s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 650s # gpointer arg1, 650s # gpointer data2); 650s # GCClosure *cc = (GCClosure *) closure; 650s # gpointer data1, data2; 650s # GMarshalFunc_VOID__STRING callback; 650s # 650s # g_return_if_fail (n_param_values == 2); 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = g_value_peek_pointer (param_values + 0); 650s # } 650s # else 650s # { 650s # data1 = g_value_peek_pointer (param_values + 0); 650s # data2 = closure->data; 650s # } 650s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # g_marshal_value_peek_string (param_values + 1), 650s # data2); 650s # } 650s # 650s # void 650s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # gpointer instance, 650s # va_list args, 650s # gpointer marshal_data, 650s # int n_params, 650s # GType *param_types) 650s # { 650s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 650s # gpointer arg1, 650s # gpointer data2); 650s # GCClosure *cc = (GCClosure *) closure; 650s # gpointer data1, data2; 650s # GMarshalFunc_VOID__STRING callback; 650s # gpointer arg0; 650s # va_list args_copy; 650s # 650s # va_copy (args_copy, args); 650s # arg0 = (gpointer) va_arg (args_copy, gpointer); 650s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 650s # arg0 = g_strdup (arg0); 650s # va_end (args_copy); 650s # 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = instance; 650s # } 650s # else 650s # { 650s # data1 = instance; 650s # data2 = closure->data; 650s # } 650s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # arg0, 650s # data2); 650s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 650s # g_free (arg0); 650s # } 650s # Error: 650s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 650s # glib-genmarshal: /usr/bin/glib-genmarshal 650s # tmpdir: /tmp/tmp679vl2jd 650s # /tmp/tmp679vl2jd/tmpu4i0ycja.list: VOID:VARIANT 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp679vl2jd/tmpu4i0ycja.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 650s # 650s # G_BEGIN_DECLS 650s # 650s # /* VOID:VARIANT (/tmp/tmp679vl2jd/tmpu4i0ycja.list:1) */ 650s # extern 650s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 650s # GValue *return_value, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint, 650s # gpointer marshal_data); 650s # extern 650s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 650s # GValue *return_value, 650s # gpointer instance, 650s # va_list args, 650s # gpointer marshal_data, 650s # int n_params, 650s # GType *param_types); 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 650s # Error: 650s # 650s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp679vl2jd/tmpu4i0ycja.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 650s # Return code: 0 650s # Output: 650s # /* 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. */ 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # /* VOID:VARIANT (/tmp/tmp679vl2jd/tmpu4i0ycja.list:1) */ 650s # void 650s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # guint n_param_values, 650s # const GValue *param_values, 650s # gpointer invocation_hint G_GNUC_UNUSED, 650s # gpointer marshal_data) 650s # { 650s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 650s # gpointer arg1, 650s # gpointer data2); 650s # GCClosure *cc = (GCClosure *) closure; 650s # gpointer data1, data2; 650s # GMarshalFunc_VOID__VARIANT callback; 650s # 650s # g_return_if_fail (n_param_values == 2); 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = g_value_peek_pointer (param_values + 0); 650s # } 650s # else 650s # { 650s # data1 = g_value_peek_pointer (param_values + 0); 650s # data2 = closure->data; 650s # } 650s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # g_marshal_value_peek_variant (param_values + 1), 650s # data2); 650s # } 650s # 650s # void 650s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # gpointer instance, 650s # va_list args, 650s # gpointer marshal_data, 650s # int n_params, 650s # GType *param_types) 650s # { 650s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 650s # gpointer arg1, 650s # gpointer data2); 650s # GCClosure *cc = (GCClosure *) closure; 650s # gpointer data1, data2; 650s # GMarshalFunc_VOID__VARIANT callback; 650s # gpointer arg0; 650s # va_list args_copy; 650s # 650s # va_copy (args_copy, args); 650s # arg0 = (gpointer) va_arg (args_copy, gpointer); 650s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 650s # arg0 = g_variant_ref_sink (arg0); 650s # va_end (args_copy); 650s # 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = instance; 650s # } 650s # else 650s # { 650s # data1 = instance; 650s # data2 = closure->data; 650s # } 650s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # arg0, 650s # data2); 650s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 650s # g_variant_unref (arg0); 650s # } 650s # Error: 650s 1..8 650s ok - glib/genmarshal.py.test 650s # Running test: glib/rec-mutex.test 650s TAP version 14 650s # random seed: R02S8f72f3d799ea08bea0485b9c629bddcb 650s 1..29 650s # Start of thread tests 650s ok 1 /thread/rec-mutex1 650s ok 2 /thread/rec-mutex2 650s ok 3 /thread/rec-mutex3 650s ok 4 /thread/rec-mutex4 650s # Start of rec-mutex tests 650s # Start of perf tests 650s # Start of uncontended tests 650s # max perf: 0.500000 mips 650s ok 5 /thread/rec-mutex/perf/uncontended/depth1 650s # max perf: inf mips 650s ok 6 /thread/rec-mutex/perf/uncontended/depth2 650s # max perf: 1.000000 mips 650s ok 7 /thread/rec-mutex/perf/uncontended/depth3 650s # max perf: 1.000000 mips 650s ok 8 /thread/rec-mutex/perf/uncontended/depth4 650s # max perf: inf mips 650s ok 9 /thread/rec-mutex/perf/uncontended/depth5 650s # End of uncontended tests 650s # Start of contended1 tests 650s # max perf: inf mips 650s ok 10 /thread/rec-mutex/perf/contended1/depth1 650s # max perf: inf mips 650s ok 11 /thread/rec-mutex/perf/contended1/depth2 650s # max perf: inf mips 650s ok 12 /thread/rec-mutex/perf/contended1/depth3 650s # max perf: inf mips 650s ok 13 /thread/rec-mutex/perf/contended1/depth4 650s # max perf: 2.000000 mips 650s ok 14 /thread/rec-mutex/perf/contended1/depth5 650s # End of contended1 tests 650s # Start of contended2 tests 650s # max perf: 3.000000 mips 650s ok 15 /thread/rec-mutex/perf/contended2/depth1 650s # max perf: inf mips 650s ok 16 /thread/rec-mutex/perf/contended2/depth2 650s # max perf: inf mips 650s ok 17 /thread/rec-mutex/perf/contended2/depth3 650s # max perf: 3.000000 mips 650s ok 18 /thread/rec-mutex/perf/contended2/depth4 650s # max perf: 3.000000 mips 650s ok 19 /thread/rec-mutex/perf/contended2/depth5 650s # End of contended2 tests 650s # Start of contended3 tests 650s # max perf: 0.005326 mips 650s ok 20 /thread/rec-mutex/perf/contended3/depth1 650s # max perf: inf mips 650s ok 21 /thread/rec-mutex/perf/contended3/depth2 650s # max perf: inf mips 650s ok 22 /thread/rec-mutex/perf/contended3/depth3 650s # max perf: 4.000000 mips 650s ok 23 /thread/rec-mutex/perf/contended3/depth4 650s # max perf: 4.000000 mips 650s ok 24 /thread/rec-mutex/perf/contended3/depth5 650s # End of contended3 tests 650s # Start of contended4 tests 650s # max perf: 5.000000 mips 650s ok 25 /thread/rec-mutex/perf/contended4/depth1 650s # max perf: inf mips 650s ok 26 /thread/rec-mutex/perf/contended4/depth2 650s # max perf: 5.000000 mips 650s ok 27 /thread/rec-mutex/perf/contended4/depth3 650s # max perf: 5.000000 mips 650s ok 28 /thread/rec-mutex/perf/contended4/depth4 650s # max perf: 2.500000 mips 650s ok - glib/rec-mutex.test 650s # Running test: glib/atomic-c-89.test 650s ok 29 /thread/rec-mutex/perf/contended4/depth5 650s # End of contended4 tests 650s # End of perf tests 650s # End of rec-mutex tests 650s # End of thread tests 650s TAP version 14 650s # random seed: R02Sc6f81b4218207738458814b5863154cd 650s 1..2 650s # Start of atomic tests 650s ok 1 /atomic/types 650s ok 2 /atomic/threaded 650s # End of atomic tests 650s ok - glib/atomic-c-89.test 650s # Running test: glib/callable-info.test 650s TAP version 14 650s # random seed: R02Sd3bc004c7bb322d82a5f7144dbb3ee89 650s 1..6 650s # Start of callable-info tests 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_SZK6J3/callable-info/sync-function/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s ok 1 /callable-info/sync-function 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_SZK6J3/callable-info/async-function/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s ok 2 /callable-info/async-function 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_SZK6J3/callable-info/is-method/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s ok 3 /callable-info/is-method 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_SZK6J3/callable-info/static-method/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s ok 4 /callable-info/static-method 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_SZK6J3/callable-info/static-vfunc/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 650s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 650s # Start of platform tests 650s # Start of unix tests 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_SZK6J3/callable-info/platform/unix/is-method/.dirs/runtime 650s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 650s # Checking DesktopAppInfo in Gio 650s # Checking DesktopAppInfo in GioUnix 650s ok 6 /callable-info/platform/unix/is-method 650s # End of unix tests 650s # End of platform tests 650s # End of callable-info tests 650s ok - glib/callable-info.test 650s # Running test: glib/cache.test 650s TAP version 14 650s # random seed: R02S26db03a9d4d1a8ddda58054aceb160d1 650s 1..1 650s # Start of cache tests 650s ok 1 /cache/basic 650s # End of cache tests 650s ok - glib/cache.test 650s # Running test: glib/async-splice-output-stream.test 650s TAP version 14 650s # random seed: R02Saa6261efb97280872ee10c3e5f8f925b 650s 1..5 650s # Start of async-splice tests 650s ok 1 /async-splice/copy-chunks 650s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 650s ok 2 /async-splice/copy-chunks-threaded-input 650s ok 3 /async-splice/copy-chunks-threaded-output 650s ok 4 /async-splice/copy-chunks-threaded 650s ok 5 /async-splice/cancelled 650s # End of async-splice tests 650s ok - glib/async-splice-output-stream.test 650s # Running test: glib/basic-signals.test 651s TAP version 14 651s # random seed: R02Se7e867e16b60cd2e7e5f908028b8a400 651s 1..1 651s # Start of gobject tests 651s ok 1 /gobject/basic-signals 651s # End of gobject tests 651s ok - glib/basic-signals.test 651s # Running test: glib/onceinit.test 651s TAP version 14 651s # random seed: R02Sde2054f316156624cc37c2ba15d7d864 651s 1..1 651s # Start of thread tests 651s ok 1 /thread/onceinit 651s # End of thread tests 651s ok - glib/onceinit.test 651s # Running test: glib/string.test 651s TAP version 14 651s # random seed: R02Sfd3edf325f15db96925b909adba0c66a 651s 1..25 651s # Start of string tests 651s ok 1 /string/chunks 651s ok 2 /string/chunk-insert 651s ok 3 /string/new 651s ok 4 /string/printf 651s ok 5 /string/assign 651s ok 6 /string/append-c 651s ok 7 /string/append 651s ok 8 /string/append-vprintf 651s ok 9 /string/prepend-c 651s ok 10 /string/prepend 651s ok 11 /string/insert 651s ok 12 /string/insert-unichar 651s ok 13 /string/equal 651s ok 14 /string/truncate 651s ok 15 /string/overwrite 651s ok 16 /string/nul-handling 651s ok 17 /string/up-down 651s ok 18 /string/set-size 651s ok 19 /string/to-bytes 651s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 651s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 651s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 651s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 651s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 651s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 651s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 651s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 651s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 651s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 651s # 5: Replacing "o" with "" (limit 0) in "food for foals" 651s # -> 4 replacements, "fd fr fals" 651s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 651s # -> 3 replacements, "aaaaaaaaa" 651s # 7: Replacing "a" with "" (limit 0) in "aaa" 651s # -> 3 replacements, "" 651s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 651s # -> 1 replacements, "bba" 651s # 9: Replacing "" with "bar" (limit 0) in "foo" 651s # -> 4 replacements, "barfbarobarobar" 651s # 10: Replacing "" with "bar" (limit 1) in "foo" 651s # -> 1 replacements, "barfoo" 651s # 11: Replacing "" with "bar" (limit 2) in "foo" 651s # -> 2 replacements, "barfbaroo" 651s # 12: Replacing "" with "bar" (limit 3) in "foo" 651s # -> 3 replacements, "barfbarobaro" 651s # 13: Replacing "" with "bar" (limit 4) in "foo" 651s # -> 4 replacements, "barfbarobarobar" 651s # 14: Replacing "" with "bar" (limit 5) in "foo" 651s # -> 4 replacements, "barfbarobarobar" 651s # 15: Replacing "" with "x" (limit 0) in "" 651s # -> 1 replacements, "x" 651s # 16: Replacing "" with "" (limit 0) in "" 651s # -> 1 replacements, "" 651s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 651s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 651s ok 20 /string/replace 651s ok 21 /string/steal 651s ok 22 /string/new-take 651s ok 23 /string/copy 651s ok - glib/string.test 651s ok 24 /string/sized-new 651s # Start of new-take tests 651s ok 25 /string/new-take/null 651s # End of new-take tests 651s # End of string tests 651s # Running test: glib/gdbus-bz627724.test 651s TAP version 14 651s # random seed: R02Sf19532a15bb6feef6c56305438a96a1e 651s 1..1 651s # Start of gdbus tests 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_F6L4J3/gdbus/bz627724/.dirs/runtime 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s ok 1 /gdbus/bz627724 651s # End of gdbus tests 651s ok - glib/gdbus-bz627724.test 651s # Running test: glib/tls-certificate.test 651s TAP version 14 651s # random seed: R02Sa17e5f8231b31afaa7bc7f5617cc3edc 651s 1..19 651s # Start of tls-certificate tests 651s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 651s ok 1 /tls-certificate/pem-parser 651s ok 2 /tls-certificate/pem-parser-handles-chain 651s ok 3 /tls-certificate/from_file 651s ok 4 /tls-certificate/from_files 651s ok 5 /tls-certificate/from_files_crlf 651s ok 6 /tls-certificate/from_files_pkcs8 651s ok 7 /tls-certificate/from_files_pkcs8enc 651s ok 8 /tls-certificate/list_from_file 651s ok 9 /tls-certificate/pkcs11-uri 651s ok 10 /tls-certificate/pkcs11-uri-unsupported 651s ok 11 /tls-certificate/from_pkcs12 651s ok 12 /tls-certificate/from_pkcs12_file 651s ok 13 /tls-certificate/not-valid-before 651s ok 14 /tls-certificate/not-valid-after 651s ok 15 /tls-certificate/subject-name 651s ok 16 /tls-certificate/issuer-name 651s ok 17 /tls-certificate/dns-names 651s ok 18 /tls-certificate/ip-addresses 651s ok 19 /tls-certificate/pem-parser-no-sentinel 651s # End of tls-certificate tests 651s ok - glib/tls-certificate.test 651s # Running test: glib/slist.test 651s ok - glib/slist.test 651s # Running test: glib/registered-type-info.test 651s TAP version 14 651s # random seed: R02S01564f4bb49fa2bf49c3e949919fc509 651s 1..14 651s # Start of slist tests 651s ok 1 /slist/sort 651s ok 2 /slist/sort-with-data 651s ok 3 /slist/insert-sorted 651s ok 4 /slist/insert-sorted-with-data 651s ok 5 /slist/reverse 651s ok 6 /slist/nth 651s ok 7 /slist/remove 651s ok 8 /slist/remove-all 651s ok 9 /slist/insert 651s ok 10 /slist/position 651s ok 11 /slist/concat 651s ok 12 /slist/copy 651s # Start of sort tests 651s ok 13 /slist/sort/stable 651s # End of sort tests 651s # Start of copy tests 651s ok 14 /slist/copy/deep 651s # End of copy tests 651s # End of slist tests 651s TAP version 14 651s # random seed: R02Sb84b6e4ef213969db85b092cb24aad4c 651s 1..1 651s # Start of registered-type-info tests 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_XO3OK3/registered-type-info/boxed/.dirs/runtime 651s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 651s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 651s # Expecting CClosure to not be boxed 651s # Expecting TypeCValue to not be boxed 651s # Expecting InitiallyUnownedClass to not be boxed 651s # Expecting BookmarkFile to be boxed 651s # Expecting Closure to be boxed 651s # Expecting Object to not be boxed 651s ok 1 /registered-type-info/boxed 651s # End of registered-type-info tests 651s ok - glib/registered-type-info.test 651s # Running test: glib/gdbus-serialization.test 651s TAP version 14 651s # random seed: R02Scf07fc1313f97682c992a92dbe17a2e1 651s 1..18 651s # Start of gdbus tests 651s # Start of message-serialize tests 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/basic/.dirs/runtime 651s ok 1 /gdbus/message-serialize/basic 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/complex/.dirs/runtime 651s ok 2 /gdbus/message-serialize/complex 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/invalid/.dirs/runtime 651s ok 3 /gdbus/message-serialize/invalid 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/.dirs/runtime 651s ok 4 /gdbus/message-serialize/header-checks 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/double-array/.dirs/runtime 651s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 651s ok 5 /gdbus/message-serialize/double-array 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/empty-structure/.dirs/runtime 651s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 651s ok 6 /gdbus/message-serialize/empty-structure 651s # Start of header-checks tests 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 651s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 651s ok 7 /gdbus/message-serialize/header-checks/valid 651s # End of header-checks tests 651s # End of message-serialize tests 651s # Start of message-parse tests 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 651s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 651s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/non-signature-header/.dirs/runtime 651s ok 9 /gdbus/message-parse/non-signature-header 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-signature-header/.dirs/runtime 651s ok 10 /gdbus/message-parse/empty-signature-header 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 651s ok 11 /gdbus/message-parse/multiple-signature-header 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 651s ok 12 /gdbus/message-parse/over-long-signature-header 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 651s ok 13 /gdbus/message-parse/deep-header-nesting 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 651s ok 14 /gdbus/message-parse/deep-body-nesting 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/truncated/.dirs/runtime 651s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 651s ok 15 /gdbus/message-parse/truncated 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/empty-structure/.dirs/runtime 651s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 651s ok 16 /gdbus/message-parse/empty-structure 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/missing-header/.dirs/runtime 651s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 651s ok 17 /gdbus/message-parse/missing-header 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_X26OK3/gdbus/message-parse/invalid-header-type/.dirs/runtime 651s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 651s ok 18 /gdbus/message-parse/invalid-header-type 651s # End of message-parse tests 651s # End of gdbus tests 651s ok - glib/gdbus-serialization.test 651s # Running test: glib/pattern.test 651s TAP version 14 651s # random seed: R02Sc8834259e0d55cf123507185c4c3a60f 651s 1..90 651s # Start of pattern tests 651s # Start of compile tests 651s ok 1 /pattern/compile/0 651s ok 2 /pattern/compile/1 651s ok 3 /pattern/compile/2 651s ok 4 /pattern/compile/3 651s ok 5 /pattern/compile/4 651s ok 6 /pattern/compile/5 651s ok 7 /pattern/compile/6 651s ok 8 /pattern/compile/7 651s ok 9 /pattern/compile/8 651s ok 10 /pattern/compile/9 651s ok 11 /pattern/compile/10 651s ok 12 /pattern/compile/11 651s ok 13 /pattern/compile/12 651s ok 14 /pattern/compile/13 651s # End of compile tests 651s # Start of copy tests 651s ok 15 /pattern/copy/0 651s ok - glib/pattern.test 651s # Running test: glib/cond.test 651s ok 16 /pattern/copy/1 651s ok 17 /pattern/copy/2 651s ok 18 /pattern/copy/3 651s ok 19 /pattern/copy/4 651s ok 20 /pattern/copy/5 651s ok 21 /pattern/copy/6 651s ok 22 /pattern/copy/7 651s ok 23 /pattern/copy/8 651s ok 24 /pattern/copy/9 651s ok 25 /pattern/copy/10 651s ok 26 /pattern/copy/11 651s ok 27 /pattern/copy/12 651s ok 28 /pattern/copy/13 651s # End of copy tests 651s # Start of match tests 651s ok 29 /pattern/match/0 651s ok 30 /pattern/match/1 651s ok 31 /pattern/match/2 651s ok 32 /pattern/match/3 651s ok 33 /pattern/match/4 651s ok 34 /pattern/match/5 651s ok 35 /pattern/match/6 651s ok 36 /pattern/match/7 651s ok 37 /pattern/match/8 651s ok 38 /pattern/match/9 651s ok 39 /pattern/match/10 651s ok 40 /pattern/match/11 651s ok 41 /pattern/match/12 651s ok 42 /pattern/match/13 651s ok 43 /pattern/match/14 651s ok 44 /pattern/match/15 651s ok 45 /pattern/match/16 651s ok 46 /pattern/match/17 651s ok 47 /pattern/match/18 651s ok 48 /pattern/match/19 651s ok 49 /pattern/match/20 651s ok 50 /pattern/match/21 651s ok 51 /pattern/match/22 651s ok 52 /pattern/match/23 651s ok 53 /pattern/match/24 651s ok 54 /pattern/match/25 651s ok 55 /pattern/match/26 651s ok 56 /pattern/match/27 651s ok 57 /pattern/match/28 651s ok 58 /pattern/match/29 651s ok 59 /pattern/match/30 651s ok 60 /pattern/match/31 651s ok 61 /pattern/match/32 651s ok 62 /pattern/match/33 651s ok 63 /pattern/match/34 651s ok 64 /pattern/match/35 651s ok 65 /pattern/match/36 651s ok 66 /pattern/match/37 651s ok 67 /pattern/match/38 651s ok 68 /pattern/match/39 651s ok 69 /pattern/match/40 651s ok 70 /pattern/match/41 651s ok 71 /pattern/match/42 651s ok 72 /pattern/match/43 651s ok 73 /pattern/match/44 651s ok 74 /pattern/match/45 651s ok 75 /pattern/match/46 651s ok 76 /pattern/match/47 651s ok 77 /pattern/match/48 651s ok 78 /pattern/match/49 651s ok 79 /pattern/match/50 651s # End of match tests 651s # Start of equal tests 651s ok 80 /pattern/equal/0 651s ok 81 /pattern/equal/1 651s ok 82 /pattern/equal/2 651s ok 83 /pattern/equal/3 651s ok 84 /pattern/equal/4 651s ok 85 /pattern/equal/5 651s ok 86 /pattern/equal/6 651s ok 87 /pattern/equal/7 651s ok 88 /pattern/equal/8 651s ok 89 /pattern/equal/9 651s ok 90 /pattern/equal/10 651s # End of equal tests 651s # End of pattern tests 651s TAP version 14 651s # random seed: R02S8bd26705e0d48f46ab69b121447c22dd 651s 1..4 651s # Start of thread tests 651s ok 1 /thread/cond1 651s ok 2 /thread/cond2 651s # Start of cond tests 652s ok 3 /thread/cond/wait-until 652s # slow test /thread/cond/wait-until executed in 1.02 secs 652s # Start of wait-until tests 652s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 652s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 653s ok - glib/cond.test 653s ok 4 /thread/cond/wait-until/contended-and-interrupted 653s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 653s # End of wait-until tests 653s # End of cond tests 653s # End of thread tests 653s # Running test: glib/gdbus-proxy-well-known-name.test 653s TAP version 14 653s # random seed: R02S4a73eba6b26cabdced6cd3f0f8daf1a4 653s 1..1 653s # Start of gdbus tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_49GKK3/gdbus/proxy-well-known-name/.dirs/runtime 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s ok 1 /gdbus/proxy-well-known-name 653s # End of gdbus tests 653s ok - glib/gdbus-proxy-well-known-name.test 653s # Running test: glib/gdbus-threading.test 653s TAP version 14 653s # random seed: R02S2c1f6378a5aa897caef858c5e49dae15 653s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 653s ok - glib/gdbus-threading.test 653s # Running test: glib/portal-support-snap.test 653s TAP version 14 653s # random seed: R02S719a4b7308e1632b67e317a40684280d 653s 1..7 653s # Start of portal-support tests 653s # Start of snap tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl/.dirs/runtime 653s # Created snap.yaml in /tmp/test_portal-support-snap_41AJK3/meta/snap.yaml 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3/portal-support/snap/no-snapctl: No such file or directory 653s ok 1 /portal-support/snap/no-snapctl 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/runtime 653s # Created snap.yaml in /tmp/test_portal-support-snap_41AJK3/meta/snap.yaml 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none/.dirs/runtime/snapctl 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3/portal-support/snap/none: No such file or directory 653s ok 2 /portal-support/snap/none 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/runtime 653s # Created snap.yaml in /tmp/test_portal-support-snap_41AJK3/meta/snap.yaml 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all/.dirs/runtime/snapctl 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3/portal-support/snap/all: No such file or directory 653s ok 3 /portal-support/snap/all 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/runtime 653s # Created snap.yaml in /tmp/test_portal-support-snap_41AJK3/meta/snap.yaml 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3/portal-support/snap/desktop-only: No such file or directory 653s ok 4 /portal-support/snap/desktop-only 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/runtime 653s # Created snap.yaml in /tmp/test_portal-support-snap_41AJK3/meta/snap.yaml 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only/.dirs/runtime/snapctl 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3/portal-support/snap/network-only: No such file or directory 653s ok 5 /portal-support/snap/network-only 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/runtime 653s # Created snap.yaml in /tmp/test_portal-support-snap_41AJK3/meta/snap.yaml 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3/portal-support/snap/gsettings-only: No such file or directory 653s ok 6 /portal-support/snap/gsettings-only 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime 653s # Created snap.yaml in /tmp/test_portal-support-snap_41AJK3/meta/snap.yaml 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 653s # Created snapctl in /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3/portal-support/snap/updates-dynamically: No such file or directory 653s ok 7 /portal-support/snap/updates-dynamically 653s # End of snap tests 653s # End of portal-support tests 653s Unable to clean up temporary directory /tmp/test_portal-support-snap_41AJK3: No such file or directory 653s ok - glib/portal-support-snap.test 653s # Running test: glib/gi-inspect-typelib.py.test 653s TAP version 13 653s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmp1j94pi5e 653s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 653s # Return code: 0 653s # Output: 653s # Usage: 653s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 653s # 653s # Help Options: 653s # -h, --help Show help options 653s # 653s # Application Options: 653s # --typelib-version=VERSION Typelib version to inspect 653s # --print-shlibs List the shared libraries the typelib requires 653s # --print-typelibs List other typelibs the inspected typelib requires 653s # Error: 653s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmp0gk3wadm 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 653s # Return code: 1 653s # Output: 653s # 653s # Error: 653s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 653s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpsbsh6sm4 653s # Running: ['/usr/bin/gi-inspect-typelib'] 653s # Return code: 1 653s # Output: 653s # 653s # Error: 653s # Please specify exactly one namespace 653s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpcmyrdyig 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # shlib: libgobject-2.0.so.0 653s # shlib: libglib-2.0.so.0 653s # Error: 653s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpt4hl3v9d 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # 653s # Error: 653s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmp5r0bu2iu 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # shlib: libgobject-2.0.so.0 653s # shlib: libglib-2.0.so.0 653s # Error: 653s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpfbiiqmy1 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # shlib: libgobject-2.0.so.0 653s # Error: 653s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpvmqu_ycu 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # typelib: GLib-2.0 653s # Error: 653s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpufoyagz0 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # shlib: libgobject-2.0.so.0 653s # typelib: GLib-2.0 653s # Error: 653s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmp7t89udp6 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # shlib: libgio-2.0.so.0 653s # Error: 653s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpbquev0f2 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # typelib: GObject-2.0 653s # typelib: GLib-2.0 653s # typelib: GModule-2.0 653s # Error: 653s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 653s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 653s # tmpdir: /tmp/tmpurogychf 653s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 653s # Return code: 0 653s # Output: 653s # shlib: libgio-2.0.so.0 653s # typelib: GObject-2.0 653s # typelib: GLib-2.0 653s # typelib: GModule-2.0 653s # Error: 653s 1..12 653s ok - glib/gi-inspect-typelib.py.test 653s # Running test: glib/charset.test 653s TAP version 14 653s # random seed: R02S42526f06614df566eccddd06bbf9d558 653s 1..2 653s # Start of charset tests 653s # Test 0 653s # Test 1 653s # Test 2 653s # Test 3 653s ok 1 /charset/language_names_with_category 653s ok 2 /charset/language_names_with_category_async 653s # End of charset tests 653s ok - glib/charset.test 653s # Running test: glib/data-output-stream.test 653s TAP version 14 653s # random seed: R02Sd39564c4f4149ccfc77346e47ea391b9 653s 1..7 653s # Start of data-output-stream tests 653s ok 1 /data-output-stream/basic 653s ok 2 /data-output-stream/write-lines-LF 653s ok 3 /data-output-stream/write-lines-CR 653s ok 4 /data-output-stream/write-lines-CR-LF 653s ok 5 /data-output-stream/write-int 653s ok 6 /data-output-stream/seek 653s ok 7 /data-output-stream/truncate 653s # End of data-output-stream tests 653s ok - glib/data-output-stream.test 653s # Running test: glib/ifaceproperties.test 653s # Executing: glib/ifaceproperties.test 653s ok - glib/ifaceproperties.test 653s # Running test: glib/network-address.test 653s TAP version 14 653s # random seed: R02Sb9a5f5bce573e3d35b5ef0d3e607f39b 653s 1..7 653s # Start of interface tests 653s # Start of properties tests 653s ok 1 /interface/properties/set 653s ok 2 /interface/properties/notify 653s ok 3 /interface/properties/find-overridden 653s ok 4 /interface/properties/list-overridden 653s ok 5 /interface/properties/find-interface 653s ok 6 /interface/properties/list-interface 653s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 653s ok 7 /interface/properties/not-overridden 653s # End of properties tests 653s # End of interface tests 653s TAP version 14 653s # random seed: R02Sb8264105d044c2582d105c4d87da4c85 653s 1..72 653s # Start of network-address tests 653s ok 1 /network-address/basic 653s ok 2 /network-address/scope-id 653s ok 3 /network-address/uri-scope-id 653s ok 4 /network-address/to-string 653s # Start of parse-host tests 653s ok 5 /network-address/parse-host/0 653s ok 6 /network-address/parse-host/1 653s ok 7 /network-address/parse-host/2 653s ok 8 /network-address/parse-host/3 653s ok 9 /network-address/parse-host/4 653s ok 10 /network-address/parse-host/5 653s ok 11 /network-address/parse-host/6 653s ok 12 /network-address/parse-host/7 653s ok 13 /network-address/parse-host/8 653s ok 14 /network-address/parse-host/9 653s ok 15 /network-address/parse-host/10 653s ok 16 /network-address/parse-host/11 653s ok 17 /network-address/parse-host/12 653s ok 18 /network-address/parse-host/13 653s # End of parse-host tests 653s # Start of parse-uri tests 653s ok 19 /network-address/parse-uri/0 653s ok 20 /network-address/parse-uri/1 653s ok 21 /network-address/parse-uri/2 653s ok 22 /network-address/parse-uri/3 653s ok 23 /network-address/parse-uri/4 653s ok 24 /network-address/parse-uri/5 653s ok 25 /network-address/parse-uri/6 653s ok 26 /network-address/parse-uri/7 653s ok 27 /network-address/parse-uri/8 653s ok 28 /network-address/parse-uri/9 653s # End of parse-uri tests 653s # Start of resolve-address tests 653s # Input: 192.168.1.2 653s ok 29 /network-address/resolve-address/0 653s # Input: fe80::42 653s ok 30 /network-address/resolve-address/1 653s # Input: 192.168.1.2:80 653s ok 31 /network-address/resolve-address/2 653s # Input: [fe80::42] 653s ok 32 /network-address/resolve-address/3 653s # Input: [fe80::42]:80 653s ok 33 /network-address/resolve-address/4 653s # Input: 192.168.258 653s ok 34 /network-address/resolve-address/5 653s # Input: 192.11010306 653s ok 35 /network-address/resolve-address/6 653s # Input: 3232235778 653s ok 36 /network-address/resolve-address/7 653s # Input: 0300.0250.0001.0001 653s ok 37 /network-address/resolve-address/8 653s # Input: 0xC0.0xA8.0x01.0x02 653s ok 38 /network-address/resolve-address/9 653s # Input: 0xc0.0xa8.0x01.0x02 653s ok 39 /network-address/resolve-address/10 653s # Input: 0xc0a80102 653s ok 40 /network-address/resolve-address/11 653s # End of resolve-address tests 653s # Start of loopback tests 653s ok 41 /network-address/loopback/basic 653s ok 42 /network-address/loopback/sync 653s ok 43 /network-address/loopback/async 653s # End of loopback tests 653s # Start of localhost tests 653s ok 44 /network-address/localhost/async 653s ok 45 /network-address/localhost/sync 653s # End of localhost tests 653s # Start of happy-eyeballs tests 653s ok 46 /network-address/happy-eyeballs/basic 653s ok 47 /network-address/happy-eyeballs/parallel 654s ok 48 /network-address/happy-eyeballs/slow-ipv4 654s ok 49 /network-address/happy-eyeballs/slow-ipv6 654s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 654s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 654s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 654s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 654s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 654s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 654s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 654s # /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. 654s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 655s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 655s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 655s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 655s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 655s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 655s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 655s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 655s ok 57 /network-address/happy-eyeballs/both-error 655s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 655s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 655s ok 58 /network-address/happy-eyeballs/both-error-delays-1 655s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 655s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 655s ok 59 /network-address/happy-eyeballs/both-error-delays-2 655s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 655s ok 60 /network-address/happy-eyeballs/both-error-delays-3 655s # End of happy-eyeballs tests 655s # End of network-address tests 655s # Start of gresolver tests 655s # Start of resolve-address tests 655s # Input: 192.168.1.2 655s ok 61 /gresolver/resolve-address/0 655s # Input: fe80::42 655s ok 62 /gresolver/resolve-address/1 655s # Input: 192.168.1.2:80 655s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 655s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 655s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 655s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 655s # Error: Error resolving “192.168.1.2:80”: Name or service not known 655s ok 63 /gresolver/resolve-address/2 655s # Input: [fe80::42] 655s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 655s # Error: Error resolving “[fe80::42]”: Name or service not known 655s ok 64 /gresolver/resolve-address/3 655s # Input: [fe80::42]:80 655s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 655s # Error: Error resolving “[fe80::42]:80”: Name or service not known 655s ok 65 /gresolver/resolve-address/4 655s # Input: 192.168.258 655s # Error: Error resolving “192.168.258”: Name or service not known 655s ok 66 /gresolver/resolve-address/5 655s # Input: 192.11010306 655s # Error: Error resolving “192.11010306”: Name or service not known 655s ok 67 /gresolver/resolve-address/6 655s # Input: 3232235778 655s # Error: Error resolving “3232235778”: Name or service not known 655s ok 68 /gresolver/resolve-address/7 655s # Input: 0300.0250.0001.0001 655s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 655s ok 69 /gresolver/resolve-address/8 655s # Input: 0xC0.0xA8.0x01.0x02 655s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 655s ok 70 /gresolver/resolve-address/9 655s # Input: 0xc0.0xa8.0x01.0x02 655s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 655s ok 71 /gresolver/resolve-address/10 655s # Input: 0xc0a80102 655s # Error: Error resolving “0xc0a80102”: Name or service not known 655s ok 72 /gresolver/resolve-address/11 655s # End of resolve-address tests 655s # End of gresolver tests 655s ok - glib/network-address.test 655s # Running test: glib/sequence.test 655s TAP version 14 655s # random seed: R02S00a8e8bdf2488d2c7024ce2c32772c9a 655s 1..16 655s # Start of sequence tests 655s ok 1 /sequence/out-of-range-jump 655s ok 2 /sequence/iter-move 655s ok 3 /sequence/insert-sorted-non-pointer 655s ok 4 /sequence/stable-sort 655s ok 5 /sequence/is_empty 655s # Start of random tests 656s ok 6 /sequence/random/seed:825541564 656s # slow test /sequence/random/seed:825541564 executed in 0.68 secs 656s ok 7 /sequence/random/seed:801678400 656s # slow test /sequence/random/seed:801678400 executed in 0.64 secs 657s ok 8 /sequence/random/seed:1477639090 657s # slow test /sequence/random/seed:1477639090 executed in 0.67 secs 658s ok 9 /sequence/random/seed:3369132895 658s # slow test /sequence/random/seed:3369132895 executed in 0.62 secs 658s ok 10 /sequence/random/seed:1192944867 658s # slow test /sequence/random/seed:1192944867 executed in 0.65 secs 658s # Executing: glib/sequence.test 659s ok 11 /sequence/random/seed:770458294 659s # slow test /sequence/random/seed:770458294 executed in 0.68 secs 659s ok 12 /sequence/random/seed:1099575817 659s # slow test /sequence/random/seed:1099575817 executed in 0.65 secs 660s ok 13 /sequence/random/seed:590523467 660s # slow test /sequence/random/seed:590523467 executed in 0.67 secs 661s ok 14 /sequence/random/seed:3583571454 661s # slow test /sequence/random/seed:3583571454 executed in 0.68 secs 662s ok 15 /sequence/random/seed:579241222 662s # slow test /sequence/random/seed:579241222 executed in 0.67 secs 662s ok 16 /sequence/random/seed:721704372 662s # slow test /sequence/random/seed:721704372 executed in 0.67 secs 662s # End of random tests 662s # End of sequence tests 662s ok - glib/sequence.test 662s # Running test: glib/tls-bindings.test 662s TAP version 14 662s # random seed: R02Sf2f17bca882d4896d624f01e7b17f421 662s 1..2 662s # Start of tls-connection tests 662s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 662s ok 1 /tls-connection/get-tls-channel-binding 662s ok 2 /tls-connection/get-dtls-channel-binding 662s # End of tls-connection tests 662s ok - glib/tls-bindings.test 662s # Running test: glib/gdbus-peer-object-manager.test 662s TAP version 14 662s # random seed: R02S5d38ad1210e6ce33fcb84ee03837bcf7 662s 1..2 662s # Start of gdbus tests 662s # Start of peer-object-manager tests 662s ok - glib/gdbus-peer-object-manager.test 662s # Running test: glib/1bit-mutex.test 662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/home 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/cache 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/system-config2 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/config 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/system-data2 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/data 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/state 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/normal/.dirs/runtime 662s ok 1 /gdbus/peer-object-manager/normal 662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/home 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/cache 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/system-config2 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/config 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/system-data2 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/data 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/state 662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BU3CK3/gdbus/peer-object-manager/root/.dirs/runtime 662s ok 2 /gdbus/peer-object-manager/root 662s # End of peer-object-manager tests 662s # End of gdbus tests 662s TAP version 14 662s # random seed: R02S850197a0b9bfa0784437e06c0dba5805 662s 1..2 662s # Start of glib tests 662s # Start of 1bit-mutex tests 663s # Executing: glib/1bit-mutex.test 667s ok 1 /glib/1bit-mutex/int 667s # slow test /glib/1bit-mutex/int executed in 4.99 secs 668s # Executing: glib/1bit-mutex.test 672s ok - glib/1bit-mutex.test 672s ok 2 /glib/1bit-mutex/pointer 672s # slow test /glib/1bit-mutex/pointer executed in 4.96 secs 672s # End of 1bit-mutex tests 672s # End of glib tests 672s # Running test: glib/dbus-appinfo.test 672s TAP version 14 672s # random seed: R02S50c22f9030655ec4a043e6c50ed99b0b 672s 1..7 672s # Start of appinfo tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/runtime 672s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 672s ok 1 /appinfo/dbusappinfo 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/runtime 672s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 672s # Acquired a message bus connection 672s # Acquired the name org.freedesktop.portal.Documents 672s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_WMYBK3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/config 672s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 672s # fake-document-portal cancelled 672s ok 2 /appinfo/flatpak-doc-export 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/runtime 672s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 672s # Acquired a message bus connection 672s # Acquired the name org.freedesktop.portal.Documents 672s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/config 672s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 672s # fake-document-portal cancelled 672s ok 3 /appinfo/flatpak-missing-doc-export 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/runtime 672s # Acquired a message bus connection 672s # Acquired the name org.freedesktop.portal.Desktop 672s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_WMYBK3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/config 672s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 672s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 672s # Response emitted 672s # fake-desktop-portal cancelled 672s ok 4 /appinfo/portal-open-file 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/runtime 672s # Acquired a message bus connection 672s # Acquired the name org.freedesktop.portal.Desktop 672s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/config 672s # Got open file request for http://example.com 672s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 672s # Response emitted 672s # fake-desktop-portal cancelled 672s ok 5 /appinfo/portal-open-uri 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/runtime 672s # Acquired a message bus connection 672s # Acquired the name org.freedesktop.portal.Desktop 672s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/config 672s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 672s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio341972899 672s # Response emitted 672s # fake-desktop-portal cancelled 672s ok 6 /appinfo/portal-open-file-async 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/runtime 672s # Acquired a message bus connection 672s # Acquired the name org.freedesktop.portal.Desktop 672s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_WMYBK3/appinfo/portal-open-uri-async/.dirs/config 672s # Got open file request for http://example.com 672s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio985491450 672s # Response emitted 672s ok - glib/dbus-appinfo.test 672s # Running test: glib/gdbus-error.test 672s # fake-desktop-portal cancelled 672s ok 7 /appinfo/portal-open-uri-async 672s # End of appinfo tests 672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 672s TAP version 14 672s ok - glib/gdbus-error.test 672s # Running test: glib/relation.test 672s # random seed: R02S4b4229d812c8b7b953bfeab574a2e7d3 672s 1..4 672s # Start of gdbus tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IX5CK3/gdbus/registered-errors/.dirs/runtime 672s ok 1 /gdbus/registered-errors 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IX5CK3/gdbus/unregistered-errors/.dirs/runtime 672s ok 2 /gdbus/unregistered-errors 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IX5CK3/gdbus/transparent-gerror/.dirs/runtime 672s ok 3 /gdbus/transparent-gerror 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_IX5CK3/gdbus/register-error/.dirs/runtime 672s ok 4 /gdbus/register-error 672s # End of gdbus tests 672s TAP version 14 672s ok - glib/relation.test 672s # Running test: glib/gdbus-sasl.test 672s ok - glib/gdbus-sasl.test 672s # random seed: R02Sa1fe3aeac6927aac8feddaecac1d3648 672s 1..1 672s # Start of glib tests 672s ok 1 /glib/relation 672s # End of glib tests 672s TAP version 14 672s # random seed: R02S4f1e18124340d1f835ddbb4312999fa5 672s 1..1 672s # Start of gdbus tests 672s # Start of sasl tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_JHQAK3/gdbus/sasl/server/.dirs/runtime 672s # New handshake: EXTERNAL with incorrect initial response 672s # C:“AUTH EXTERNAL 30” 672s # Expect: /^REJECTED.*$/ 672s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 672s # New handshake: EXTERNAL without initial response, failing to authenticate 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA 30” 672s # Expect: /^REJECTED.*$/ 672s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 672s # New handshake: EXTERNAL with initial response 672s # C:“AUTH EXTERNAL 31303030” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK dbcac0d8593a39a729854f3d69872140” 672s # New handshake: EXTERNAL without initial response 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA 31303030” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK dbcac0d8593a39a729854f3d69872140” 672s # New handshake: EXTERNAL with empty authorization identity 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK dbcac0d8593a39a729854f3d69872140” 672s # New handshake: EXTERNAL with empty authorization identity and whitespace 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA ” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK dbcac0d8593a39a729854f3d69872140” 672s ok 1 /gdbus/sasl/server 672s # End of sasl tests 672s # End of gdbus tests 672s # Running test: glib/mapping.test 672s TAP version 14 672s # random seed: R02S1be06b1ef09d0953c05e3ab008377f09 672s 1..3 672s # Start of mapping tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_QTIAK3/mapping/flags/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_QTIAK3/mapping/flags/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_QTIAK3/mapping/flags/.dirs/runtime 672s # test_mapping: ok 672s ok 1 /mapping/flags 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/system-config1:/tmp/test_mapping_QTIAK3/mapping/private/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/system-data1:/tmp/test_mapping_QTIAK3/mapping/private/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_QTIAK3/mapping/private/.dirs/runtime 672s ok 2 /mapping/private 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_QTIAK3/mapping/private-child/.dirs/runtime 672s # test_child_private: child spawned 672s # Subtest: /usr/libexec/installed-tests/glib/mapping 672s # random seed: R02Sc1475686fe4ec356994157f64d23c0e6 672s # test_child_private: received first child signal 672s # test_child_private: received parent signal 672s # Child exited with status 0 672s # test_child_private: received second child signal 672s ok 3 /mapping/private-child 672s # End of mapping tests 672s ok - glib/mapping.test 672s # Running test: glib/pathbuf.test 672s TAP version 14 672s # random seed: R02S1ec97f94d79fe54f6ddbce609842dcd4 672s 1..3 672s # Start of pathbuf tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_9SMAK3/pathbuf/init/.dirs/runtime 672s # Initializing empty path buf 672s # Initializing with empty path 672s ok - glib/pathbuf.test 672s # Running test: glib/gdbus-auth.test 672s # Initializing with full path 672s # Initializing with no path 672s # Allocating GPathBuf on the heap 672s ok 1 /pathbuf/init 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_9SMAK3/pathbuf/push-pop/.dirs/runtime 672s # Pushing relative path component 672s # Pushing absolute path component 672s # Popping a path component 672s # Can't pop the last element of a path buffer 672s ok 2 /pathbuf/push-pop 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_9SMAK3/pathbuf/filename-extension/.dirs/runtime 672s ok 3 /pathbuf/filename-extension 672s # End of pathbuf tests 672s TAP version 14 672s # random seed: R02S0e9800f56f241480b32249e086d98c62 672s 1..5 672s # Start of gdbus tests 672s # Start of auth tests 672s # Start of client tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/EXTERNAL/.dirs/runtime 672s ok 1 /gdbus/auth/client/EXTERNAL 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 672s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 672s # End of client tests 672s # Start of server tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 672s ok 3 /gdbus/auth/server/ANONYMOUS 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/EXTERNAL/.dirs/runtime 672s ok 4 /gdbus/auth/server/EXTERNAL 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_GP2AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 672s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 672s # End of server tests 672s # End of auth tests 672s # End of gdbus tests 672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 672s ok - glib/gdbus-auth.test 672s # Running test: glib/override.test 672s ok - glib/override.test 672s TAP version 14 672s # random seed: R02Sbcc9db09ce337059ae628a6ba195573e 672s 1..1 672s # Start of gobject tests 672s # *** emitting foo on a TestA instance 672s # Expecting: TestA::foo,TestI::foo 672s # Got: TestA::foo,TestI::foo 672s # *** emitting bar on a TestA instance 672s # Expecting: TestA::bar 672s # Got: TestA::bar 672s # *** emitting baz on a TestA instance 672s # Expecting: TestA::baz 672s # Got: TestA::baz 672s # *** emitting foo on a TestB instance 672s # Expecting: TestB::foo,TestA::foo,TestI::foo 672s # Got: TestB::foo,TestA::foo,TestI::foo 672s # *** emitting bar on a TestB instance 672s # Expecting: TestB::bar,TestA::bar 672s # Got: TestB::bar,TestA::bar 672s # *** emitting baz on a TestB instance 672s # Expecting: TestB::baz,TestA::baz 672s # Got: TestB::baz,TestA::baz 672s # *** emitting foo on a TestC instance 672s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 672s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 672s # *** emitting bar on a TestC instance 672s # Expecting: TestC::bar,TestB::bar,TestA::bar 672s # Got: TestC::bar,TestB::bar,TestA::bar 672s # *** emitting baz on a TestC instance 672s # Expecting: TestC::baz,TestB::baz,TestA::baz 672s # Got: TestC::baz,TestB::baz,TestA::baz 672s ok 1 /gobject/override 672s # End of gobject tests 672s # Running test: glib/closure-refcount.test 672s TAP version 14 672s # random seed: R02S66a30d301199e8ecc57ffaa639f8b6e7 672s 1..1 672s # Start of closure tests 672s # Init 0xf2aad246db0 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from thread1 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from thread2 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from thread1 673s # Yielding from main thread 673s # Yielding from main thread 673s # Executing: glib/closure-refcount.test 673s # Yielding from main thread 673s # Yielding from thread2 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread1 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread2 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread1 674s # Yielding from thread2 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread1 674s # Yielding from main thread 674s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread2 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread1 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread2 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread1 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread2 675s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread1 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread2 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread1 677s # Yielding from main thread 677s # Yielding from thread2 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread1 678s # Yielding from main thread 678s # Yielding from main thread 678s # Yielding from main thread 678s # Stopping 678s # Stopped 678s ok 1 /closure/refcount 678s # slow test /closure/refcount executed in 5.41 secs 678s # End of closure tests 678s ok - glib/closure-refcount.test 678s # Running test: glib/debugcontroller.test 678s TAP version 14 678s # random seed: R02S5ddc315a5cbffc4695954ddbcd6bc205 678s 1..3 678s # Start of debug-controller tests 678s # Start of dbus tests 678s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 678s # GLib-GIO-DEBUG: Debug output enabled 678s # GLib-GIO-DEBUG: Debug output disabled 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s ok 1 /debug-controller/dbus/basic 678s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 678s ok 2 /debug-controller/dbus/duplicate 678s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 678s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 678s # End of dbus tests 678s # End of debug-controller tests 678s ok - glib/debugcontroller.test 678s # Running test: glib/objects-refcount2.test 678s TAP version 14 678s # random seed: R02S02fea3f4eac1d32cc8b048a5d21dd11b 678s 1..1 678s # Start of gobject tests 678s # Start of refcount tests 678s # init 0x1195f882dd70 678s # 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # Executing: glib/objects-refcount2.test 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 678s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 679s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 680s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 681s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 682s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # Executing: glib/objects-refcount2.test 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 683s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 684s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 685s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 686s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # Executing: glib/objects-refcount2.test 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # Executing: glib/objects-refcount2.test 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # Executing: glib/objects-refcount2.test 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 700s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 701s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 702s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # Executing: glib/objects-refcount2.test 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 703s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 704s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 705s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 706s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 707s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # Executing: glib/objects-refcount2.test 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 708s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 709s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 710s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 711s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # dispose 0x1195f882dd70! 713s # 713s ok 1 /gobject/refcount/object-advanced 713s # slow test /gobject/refcount/object-advanced executed in 35.24 secs 713s # End of refcount tests 713s # End of gobject tests 713s ok - glib/objects-refcount2.test 713s TAP version 14 713s # random seed: R02S6b00ff9bb67950ef96b7f28ee6c31801 713s 1..14 713s # Start of conversion tests 713s ok 1 /conversion/no-conv 713s ok 2 /conversion/iconv-state 713s ok 3 /conversion/illegal-sequence 713s ok 4 /conversion/byte-order 713s ok 5 /conversion/unicode 713s ok 6 /conversion/filename-utf8 713s ok 7 /conversion/filename-display 713s ok 8 /conversion/convert-embedded-nul 713s # Start of locale-to-utf8 tests 713s ok 9 /conversion/locale-to-utf8/embedded-nul 713s # Start of embedded-nul tests 713s # Start of subprocess tests 713s # End of subprocess tests 713s # End of embedded-nul tests 713s # End of locale-to-utf8 tests 713s # Start of locale-from-utf8 tests 713s ok 10 /conversion/locale-from-utf8/embedded-nul 713s # Start of embedded-nul tests 713s # Start of subprocess tests 713s # End of subprocess tests 713s # End of embedded-nul tests 713s # End of locale-from-utf8 tests 713s # Start of filename-to-utf8 tests 713s ok 11 /conversion/filename-to-utf8/embedded-nul 713s # Start of embedded-nul tests 713s # Start of subprocess tests 713s # End of subprocess tests 713s # End of embedded-nul tests 713s # End of filename-to-utf8 tests 713s # Start of filename-from-utf8 tests 713s ok 12 /conversion/filename-from-utf8/embedded-nul 713s # Start of embedded-nul tests 713s # Start of subprocess tests 713s # End of subprocess tests 713s # End of embedded-nul tests 713s # End of filename-from-utf8 tests 713s # Start of filename-from-uri tests 713s # Running test: glib/convert.test 713s ok 13 /conversion/filename-from-uri/query-is-ignored 713s ok 14 /conversion/filename-from-uri/fragment-is-ignored 713s # End of filename-from-uri tests 713s # End of conversion tests 713s TAP version 14 713s # random seed: R02S36f57fed0aac86afa7460801dfde4b48 713s 1..96 713s # Start of bookmarks tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/load-from-data-dirs/.dirs/runtime 713s ok 1 /bookmarks/load-from-data-dirs 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/to-file/.dirs/runtime 713s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_NKEIK3/bookmarkfile-test-QBFIK3.xbel 713s # Roundtrip from a valid bookmark file 713s ok 2 /bookmarks/to-file 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/move-item/.dirs/runtime 713s ok 3 /bookmarks/move-item 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/corner-cases/.dirs/runtime 713s ok 4 /bookmarks/corner-cases 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/misc/.dirs/runtime 713s ok 5 /bookmarks/misc 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/deprecated/.dirs/runtime 713s ok 6 /bookmarks/deprecated 713s # Start of parse tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-15.xbel/.dirs/runtime 713s ok 7 /bookmarks/parse/fail-15.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-26.xbel/.dirs/runtime 713s ok 8 /bookmarks/parse/fail-26.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-04.xbel/.dirs/runtime 713s ok 9 /bookmarks/parse/fail-04.xbel 713s ok - glib/convert.test 713s # Running test: glib/bookmarkfile.test 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-02.xbel/.dirs/runtime 713s ok 10 /bookmarks/parse/fail-02.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-37.xbel/.dirs/runtime 713s ok 11 /bookmarks/parse/fail-37.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-13.xbel/.dirs/runtime 713s ok 12 /bookmarks/parse/fail-13.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-34.xbel/.dirs/runtime 713s ok 13 /bookmarks/parse/fail-34.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-10.xbel/.dirs/runtime 713s ok 14 /bookmarks/parse/fail-10.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-20.xbel/.dirs/runtime 713s ok 15 /bookmarks/parse/fail-20.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-09.xbel/.dirs/runtime 713s ok 16 /bookmarks/parse/fail-09.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-32.xbel/.dirs/runtime 713s ok 17 /bookmarks/parse/fail-32.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-42.xbel/.dirs/runtime 713s ok 18 /bookmarks/parse/fail-42.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-29.xbel/.dirs/runtime 713s ok 19 /bookmarks/parse/fail-29.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-23.xbel/.dirs/runtime 713s ok 20 /bookmarks/parse/fail-23.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-41.xbel/.dirs/runtime 713s ok 21 /bookmarks/parse/fail-41.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-28.xbel/.dirs/runtime 713s ok 22 /bookmarks/parse/fail-28.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-05.xbel/.dirs/runtime 713s ok 23 /bookmarks/parse/fail-05.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-03.xbel/.dirs/runtime 713s ok 24 /bookmarks/parse/valid-03.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-21.xbel/.dirs/runtime 713s ok 25 /bookmarks/parse/fail-21.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-07.xbel/.dirs/runtime 713s ok 26 /bookmarks/parse/fail-07.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-18.xbel/.dirs/runtime 713s ok 27 /bookmarks/parse/fail-18.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-16.xbel/.dirs/runtime 713s ok 28 /bookmarks/parse/fail-16.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-06.xbel/.dirs/runtime 713s ok 29 /bookmarks/parse/fail-06.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-38.xbel/.dirs/runtime 713s ok 30 /bookmarks/parse/fail-38.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-27.xbel/.dirs/runtime 713s ok 31 /bookmarks/parse/fail-27.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-08.xbel/.dirs/runtime 713s ok 32 /bookmarks/parse/fail-08.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-35.xbel/.dirs/runtime 713s ok 33 /bookmarks/parse/fail-35.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-24.xbel/.dirs/runtime 713s ok 34 /bookmarks/parse/fail-24.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-14.xbel/.dirs/runtime 713s ok 35 /bookmarks/parse/fail-14.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-01.xbel/.dirs/runtime 713s ok 36 /bookmarks/parse/fail-01.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-40.xbel/.dirs/runtime 713s ok 37 /bookmarks/parse/fail-40.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-39.xbel/.dirs/runtime 713s ok 38 /bookmarks/parse/fail-39.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-02.xbel/.dirs/runtime 713s ok 39 /bookmarks/parse/valid-02.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-12.xbel/.dirs/runtime 713s ok 40 /bookmarks/parse/fail-12.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-11.xbel/.dirs/runtime 713s ok 41 /bookmarks/parse/fail-11.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-31.xbel/.dirs/runtime 713s ok 42 /bookmarks/parse/fail-31.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-03.xbel/.dirs/runtime 713s ok 43 /bookmarks/parse/fail-03.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-36.xbel/.dirs/runtime 713s ok 44 /bookmarks/parse/fail-36.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-25.xbel/.dirs/runtime 713s ok 45 /bookmarks/parse/fail-25.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-17.xbel/.dirs/runtime 713s ok 46 /bookmarks/parse/fail-17.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-19.xbel/.dirs/runtime 713s ok 47 /bookmarks/parse/fail-19.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-30.xbel/.dirs/runtime 713s ok 48 /bookmarks/parse/fail-30.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/valid-01.xbel/.dirs/runtime 713s ok 49 /bookmarks/parse/valid-01.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-33.xbel/.dirs/runtime 713s ok 50 /bookmarks/parse/fail-33.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/parse/fail-22.xbel/.dirs/runtime 713s ok 51 /bookmarks/parse/fail-22.xbel 713s # End of parse tests 713s # Start of copy tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-15.xbel/.dirs/runtime 713s ok 52 /bookmarks/copy/fail-15.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-26.xbel/.dirs/runtime 713s ok 53 /bookmarks/copy/fail-26.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-04.xbel/.dirs/runtime 713s ok 54 /bookmarks/copy/fail-04.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-02.xbel/.dirs/runtime 713s ok 55 /bookmarks/copy/fail-02.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-37.xbel/.dirs/runtime 713s ok 56 /bookmarks/copy/fail-37.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-13.xbel/.dirs/runtime 713s ok 57 /bookmarks/copy/fail-13.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-34.xbel/.dirs/runtime 713s ok 58 /bookmarks/copy/fail-34.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-10.xbel/.dirs/runtime 713s ok 59 /bookmarks/copy/fail-10.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-20.xbel/.dirs/runtime 713s ok 60 /bookmarks/copy/fail-20.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-09.xbel/.dirs/runtime 713s ok 61 /bookmarks/copy/fail-09.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-32.xbel/.dirs/runtime 713s ok 62 /bookmarks/copy/fail-32.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-42.xbel/.dirs/runtime 713s ok 63 /bookmarks/copy/fail-42.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-29.xbel/.dirs/runtime 713s ok 64 /bookmarks/copy/fail-29.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-23.xbel/.dirs/runtime 713s ok 65 /bookmarks/copy/fail-23.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-41.xbel/.dirs/runtime 713s ok 66 /bookmarks/copy/fail-41.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-28.xbel/.dirs/runtime 713s ok 67 /bookmarks/copy/fail-28.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-05.xbel/.dirs/runtime 713s ok 68 /bookmarks/copy/fail-05.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-03.xbel/.dirs/runtime 713s ok 69 /bookmarks/copy/valid-03.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-21.xbel/.dirs/runtime 713s ok 70 /bookmarks/copy/fail-21.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-07.xbel/.dirs/runtime 713s ok 71 /bookmarks/copy/fail-07.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-18.xbel/.dirs/runtime 713s ok 72 /bookmarks/copy/fail-18.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-16.xbel/.dirs/runtime 713s ok 73 /bookmarks/copy/fail-16.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-06.xbel/.dirs/runtime 713s ok 74 /bookmarks/copy/fail-06.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-38.xbel/.dirs/runtime 713s ok 75 /bookmarks/copy/fail-38.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-27.xbel/.dirs/runtime 713s ok 76 /bookmarks/copy/fail-27.xbel 713s ok - glib/bookmarkfile.test 713s # Running test: glib/keyfile.test 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-08.xbel/.dirs/runtime 713s ok 77 /bookmarks/copy/fail-08.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-35.xbel/.dirs/runtime 713s ok 78 /bookmarks/copy/fail-35.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-24.xbel/.dirs/runtime 713s ok 79 /bookmarks/copy/fail-24.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-14.xbel/.dirs/runtime 713s ok 80 /bookmarks/copy/fail-14.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-01.xbel/.dirs/runtime 713s ok 81 /bookmarks/copy/fail-01.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-40.xbel/.dirs/runtime 713s ok 82 /bookmarks/copy/fail-40.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-39.xbel/.dirs/runtime 713s ok 83 /bookmarks/copy/fail-39.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-02.xbel/.dirs/runtime 713s ok 84 /bookmarks/copy/valid-02.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-12.xbel/.dirs/runtime 713s ok 85 /bookmarks/copy/fail-12.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-11.xbel/.dirs/runtime 713s ok 86 /bookmarks/copy/fail-11.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-31.xbel/.dirs/runtime 713s ok 87 /bookmarks/copy/fail-31.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-03.xbel/.dirs/runtime 713s ok 88 /bookmarks/copy/fail-03.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-36.xbel/.dirs/runtime 713s ok 89 /bookmarks/copy/fail-36.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-25.xbel/.dirs/runtime 713s ok 90 /bookmarks/copy/fail-25.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-17.xbel/.dirs/runtime 713s ok 91 /bookmarks/copy/fail-17.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-19.xbel/.dirs/runtime 713s ok 92 /bookmarks/copy/fail-19.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-30.xbel/.dirs/runtime 713s ok 93 /bookmarks/copy/fail-30.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/valid-01.xbel/.dirs/runtime 713s ok 94 /bookmarks/copy/valid-01.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-33.xbel/.dirs/runtime 713s ok 95 /bookmarks/copy/fail-33.xbel 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NKEIK3/bookmarks/copy/fail-22.xbel/.dirs/runtime 713s ok 96 /bookmarks/copy/fail-22.xbel 713s # End of copy tests 713s # End of bookmarks tests 713s TAP version 14 713s # random seed: R02S1a019e6a02e972343f086fb869557186 713s 1..36 713s # Start of keyfile tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/line-ends/.dirs/runtime 713s ok 1 /keyfile/line-ends 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/whitespace/.dirs/runtime 713s ok 2 /keyfile/whitespace 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/comments/.dirs/runtime 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 713s ok 3 /keyfile/comments 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/listing/.dirs/runtime 713s ok 4 /keyfile/listing 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/string/.dirs/runtime 713s ok 5 /keyfile/string 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/boolean/.dirs/runtime 713s ok 6 /keyfile/boolean 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/number/.dirs/runtime 713s ok 7 /keyfile/number 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/.dirs/runtime 713s ok 8 /keyfile/locale-string 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/lists/.dirs/runtime 713s ok 9 /keyfile/lists 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/lists-set-get/.dirs/runtime 713s ok 10 /keyfile/lists-set-get 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/group-remove/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 713s ok 11 /keyfile/group-remove 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/key-remove/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 713s ok 12 /keyfile/key-remove 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/groups/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 713s ok 13 /keyfile/groups 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-keys/.dirs/runtime 713s ok 14 /keyfile/duplicate-keys 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 713s ok 15 /keyfile/duplicate-groups 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/duplicate-groups2/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 713s ok 16 /keyfile/duplicate-groups2 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/group-names/.dirs/runtime 713s ok 17 /keyfile/group-names 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/key-names/.dirs/runtime 713s ok 18 /keyfile/key-names 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/reload/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 713s ok 19 /keyfile/reload 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/int64/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 713s ok 20 /keyfile/int64 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/load/.dirs/runtime 713s ok 21 /keyfile/load 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/save/.dirs/runtime 713s ok 22 /keyfile/save 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/load-fail/.dirs/runtime 713s ok 23 /keyfile/load-fail 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/non-utf8/.dirs/runtime 713s ok 24 /keyfile/non-utf8 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/page-boundary/.dirs/runtime 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 713s ok 25 /keyfile/page-boundary 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/ref/.dirs/runtime 713s ok 26 /keyfile/ref 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/replace-value/.dirs/runtime 713s ok 27 /keyfile/replace-value 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/list-separator/.dirs/runtime 713s ok 28 /keyfile/list-separator 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/empty-string/.dirs/runtime 713s ok 29 /keyfile/empty-string 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/limbo/.dirs/runtime 713s ok 30 /keyfile/limbo 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/utf8/.dirs/runtime 713s # Testing invalid encoding ‘non-UTF-8’ 713s # Testing invalid encoding ‘UTF’ 713s # Testing invalid encoding ‘UTF-9’ 713s ok 31 /keyfile/utf8 713s ok - glib/keyfile.test 713s # Running test: glib/simple-async-result.test 713s ok - glib/simple-async-result.test 713s # Running test: glib/resolver-parsing.test 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/roundtrip/.dirs/runtime 713s ok 32 /keyfile/roundtrip 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/bytes/.dirs/runtime 713s ok 33 /keyfile/bytes 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/get-locale/.dirs/runtime 713s ok 34 /keyfile/get-locale 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/free-when-not-last-ref/.dirs/runtime 713s ok 35 /keyfile/free-when-not-last-ref 713s # Start of locale-string tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E0EGK3/keyfile/locale-string/multiple-loads/.dirs/runtime 713s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 713s ok 36 /keyfile/locale-string/multiple-loads 713s # End of locale-string tests 713s # End of keyfile tests 713s TAP version 14 713s # random seed: R02Sdf9a916e6eedefc92d6b5023e07ca8db 713s 1..2 713s # Start of gio tests 713s # Start of simple-async-result tests 713s ok 1 /gio/simple-async-result/test 713s # GLib-GIO-DEBUG: GTask 0x1e418cfb5b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 713s ok 2 /gio/simple-async-result/valid 713s # End of simple-async-result tests 713s # End of gio tests 713s TAP version 14 713s # random seed: R02S4271f7d963acdd0a7ba0f4f029d84377 713s 1..21 713s # Start of gresolver tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/invalid-header/.dirs/runtime 713s ok 1 /gresolver/invalid-header 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/record-ownership/.dirs/runtime 713s ok 2 /gresolver/record-ownership 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/unknown-record-type/.dirs/runtime 713s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 713s ok 3 /gresolver/unknown-record-type 713s # Start of mx tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/valid/.dirs/runtime 713s ok 4 /gresolver/mx/valid 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/.dirs/runtime 713s ok 5 /gresolver/mx/invalid 713s # Start of invalid tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short/.dirs/runtime 713s ok 6 /gresolver/mx/invalid/too-short 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/mx/invalid/too-short2/.dirs/runtime 713s ok 7 /gresolver/mx/invalid/too-short2 713s # End of invalid tests 713s # End of mx tests 713s # Start of ns tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/valid/.dirs/runtime 713s ok 8 /gresolver/ns/valid 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/ns/invalid/.dirs/runtime 713s ok 9 /gresolver/ns/invalid 713s # End of ns tests 713s # Start of soa tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/valid/.dirs/runtime 713s ok 10 /gresolver/soa/valid 713s # Start of invalid tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/mname/.dirs/runtime 713s ok 11 /gresolver/soa/invalid/mname 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/rname/.dirs/runtime 713s ok 12 /gresolver/soa/invalid/rname 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/soa/invalid/too-short/.dirs/runtime 713s ok 13 /gresolver/soa/invalid/too-short 713s # End of invalid tests 713s # End of soa tests 713s # Start of srv tests 713s ok - glib/resolver-parsing.test 713s # Running test: glib/performance.test 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/valid/.dirs/runtime 713s ok 14 /gresolver/srv/valid 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/.dirs/runtime 713s ok 15 /gresolver/srv/invalid 713s # Start of invalid tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short/.dirs/runtime 713s ok 16 /gresolver/srv/invalid/too-short 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/srv/invalid/too-short2/.dirs/runtime 713s ok 17 /gresolver/srv/invalid/too-short2 713s # End of invalid tests 713s # End of srv tests 713s # Start of txt tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/.dirs/runtime 713s ok 18 /gresolver/txt/valid 713s # Start of valid tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/valid/multiple-strings/.dirs/runtime 713s ok 19 /gresolver/txt/valid/multiple-strings 713s # End of valid tests 713s # Start of invalid tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/empty/.dirs/runtime 713s ok 20 /gresolver/txt/invalid/empty 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O9RGK3/gresolver/txt/invalid/overflow/.dirs/runtime 713s ok 21 /gresolver/txt/invalid/overflow 713s # End of invalid tests 713s # End of txt tests 713s # End of gresolver tests 713s # Executing: glib/performance.test 718s # Executing: glib/performance.test 723s simple-construction: Millions of constructed objects per second: 7.003 723s # Executing: glib/performance.test 725s simple-construction1: Millions of constructed objects per second: 58.469 728s # Executing: glib/performance.test 730s complex-construction: Millions of constructed objects per second: 3.903 733s # Executing: glib/performance.test 737s complex-construction1: Millions of constructed objects per second: 4.894 738s # Executing: glib/performance.test 743s # Executing: glib/performance.test 744s complex-construction2: Millions of constructed objects per second: 5.272 746s finalization: Millions of finalized objects per second: 1.091 748s type-check: Million type checks per second: 14.52 748s # Executing: glib/performance.test 749s emit-unhandled: Emissions per second: 1084699 750s emit-unhandled-empty: Emissions per second: 8962694 752s emit-unhandled-generic: Emissions per second: 1209215 753s # Executing: glib/performance.test 753s emit-unhandled-generic-empty: Emissions per second: 8969502 755s emit-unhandled-args: Emissions per second: 1075517 756s emit-handled: Emissions per second: 774581 757s emit-handled-empty: Emissions per second: 771794 758s # Executing: glib/performance.test 759s emit-handled-generic: Emissions per second: 782941 760s emit-handled-generic-empty: Emissions per second: 1187751 762s emit-handled-args: Emissions per second: 772733 763s notify-unhandled: Notify (unhandled) per second: 9118442 763s # Executing: glib/performance.test 764s notify-by-pspec-unhandled: Notify (unhandled) per second: 44763514 766s notify-handled: Notify per second: 503629 767s notify-by-pspec-handled: Notify per second: 530347 768s # Executing: glib/performance.test 768s property-set: Property set per second: 6389869 770s property-set-signaled: Property set per second: 1560780 771s property-get: Property get per second: 6874124 772s refcount: Million refs+unref per second: 6.12 773s # Executing: glib/performance.test 774s refcount-1: Million refs+unref per second: 14.17 775s ok - glib/performance.test 775s # Running test: glib/bitlock.test 775s refcount-toggle: Million refs+unref per second: 12.49 775s TAP version 14 775s # random seed: R02S8018cace16186c6cd65a33f9554079c8 775s 1..2 775s # Start of bitlock tests 775s # Start of performance tests 775s # max perf: iterations per second 775s ok 1 /bitlock/performance/uncontended 775s ok 2 /bitlock/performance/parallel 775s # End of performance tests 775s # End of bitlock tests 775s ok - glib/bitlock.test 775s # Running test: glib/utils-unisolated.test 775s TAP version 14 775s # random seed: R02S7cd55b91c8fdf1a4f6730466ddeaa31d 775s 1..1 775s # Start of utils tests 775s ok 1 /utils/xdgdirs 775s # End of utils tests 775s ok - glib/utils-unisolated.test 775s # Running test: glib/file.test 775s TAP version 14 775s # random seed: R02S95f1dcccad444bfb7baecf2617ae1ca2 775s 1..55 775s # Start of file tests 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/basic/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/basic/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/basic/.dirs/system-config1:/tmp/test_file_9M44J3/file/basic/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/basic/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/basic/.dirs/system-data1:/tmp/test_file_9M44J3/file/basic/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/basic/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/basic/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/basic/.dirs/runtime 775s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 775s ok 1 /file/basic 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/build-filename/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/build-filename/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/build-filename/.dirs/system-config1:/tmp/test_file_9M44J3/file/build-filename/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/build-filename/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/build-filename/.dirs/system-data1:/tmp/test_file_9M44J3/file/build-filename/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/build-filename/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/build-filename/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/build-filename/.dirs/runtime 775s ok 2 /file/build-filename 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_9M44J3/file/build-filenamev/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_9M44J3/file/build-filenamev/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/build-filenamev/.dirs/runtime 775s ok 3 /file/build-filenamev 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/parent/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/parent/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/parent/.dirs/system-config1:/tmp/test_file_9M44J3/file/parent/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/parent/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/parent/.dirs/system-data1:/tmp/test_file_9M44J3/file/parent/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/parent/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/parent/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/parent/.dirs/runtime 775s ok 4 /file/parent 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/child/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/child/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/child/.dirs/system-config1:/tmp/test_file_9M44J3/file/child/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/child/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/child/.dirs/system-data1:/tmp/test_file_9M44J3/file/child/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/child/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/child/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/child/.dirs/runtime 775s ok 5 /file/child 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/empty-path/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/empty-path/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/empty-path/.dirs/system-config1:/tmp/test_file_9M44J3/file/empty-path/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/empty-path/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/empty-path/.dirs/system-data1:/tmp/test_file_9M44J3/file/empty-path/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/empty-path/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/empty-path/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/empty-path/.dirs/runtime 775s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 775s # /file/empty-path summary: Check that creating a file with an empty path results in errors 775s ok 6 /file/empty-path 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/type/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/type/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/type/.dirs/system-config1:/tmp/test_file_9M44J3/file/type/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/type/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/type/.dirs/system-data1:/tmp/test_file_9M44J3/file/type/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/type/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/type/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/type/.dirs/runtime 775s ok 7 /file/type 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/parse-name/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/parse-name/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/parse-name/.dirs/system-config1:/tmp/test_file_9M44J3/file/parse-name/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/parse-name/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/parse-name/.dirs/system-data1:/tmp/test_file_9M44J3/file/parse-name/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/parse-name/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/parse-name/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/parse-name/.dirs/runtime 775s ok 8 /file/parse-name 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/replace-load/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/replace-load/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/replace-load/.dirs/system-config1:/tmp/test_file_9M44J3/file/replace-load/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/replace-load/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/replace-load/.dirs/system-data1:/tmp/test_file_9M44J3/file/replace-load/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/replace-load/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/replace-load/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/replace-load/.dirs/runtime 775s ok 9 /file/replace-load 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_9M44J3/file/replace-cancel/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_9M44J3/file/replace-cancel/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/replace-cancel/.dirs/runtime 775s # Bug Reference: https://bugzilla.gnome.org/629301 776s ok 10 /file/replace-cancel 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_9M44J3/file/replace-symlink/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_9M44J3/file/replace-symlink/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/replace-symlink/.dirs/runtime 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 776s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 776s # Using temporary directory /tmp/test_file_9M44J3/g_file_replace_symlink_C965J3 776s ok 11 /file/replace-symlink 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-new-tmp/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-new-tmp/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-new-tmp/.dirs/runtime 776s ok 12 /file/async-new-tmp 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-new-tmp-dir/.dirs/runtime 776s ok 13 /file/async-new-tmp-dir 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-delete/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-delete/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-delete/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-delete/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-delete/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-delete/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-delete/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-delete/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-delete/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-delete/.dirs/runtime 776s ok 14 /file/async-delete 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-make-symlink/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-make-symlink/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-make-symlink/.dirs/runtime 776s ok 15 /file/async-make-symlink 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/copy-preserve-mode/.dirs/runtime 776s # Current umask: 2 776s # Vector 0 776s # Vector 1 776s # Vector 2 776s # Vector 3 776s # Vector 4 776s # Vector 5 776s # Vector 6 776s # Vector 7 776s # Vector 8 776s # Vector 9 776s # Vector 10 776s ok 16 /file/copy-preserve-mode 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/copy-async-with-closures/.dirs/runtime 776s ok 17 /file/copy-async-with-closures 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/measure/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/measure/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/measure/.dirs/system-config1:/tmp/test_file_9M44J3/file/measure/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/measure/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/measure/.dirs/system-data1:/tmp/test_file_9M44J3/file/measure/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/measure/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/measure/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/measure/.dirs/runtime 776s ok 18 /file/measure 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/measure-async/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/measure-async/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/measure-async/.dirs/system-config1:/tmp/test_file_9M44J3/file/measure-async/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/measure-async/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/measure-async/.dirs/system-data1:/tmp/test_file_9M44J3/file/measure-async/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/measure-async/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/measure-async/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/measure-async/.dirs/runtime 776s ok 19 /file/measure-async 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/load-bytes/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/load-bytes/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/load-bytes/.dirs/system-config1:/tmp/test_file_9M44J3/file/load-bytes/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/load-bytes/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/load-bytes/.dirs/system-data1:/tmp/test_file_9M44J3/file/load-bytes/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/load-bytes/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/load-bytes/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/load-bytes/.dirs/runtime 776s ok 20 /file/load-bytes 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_9M44J3/file/load-bytes-async/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_9M44J3/file/load-bytes-async/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/load-bytes-async/.dirs/runtime 776s ok 21 /file/load-bytes-async 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/load-bytes-4gb/.dirs/runtime 776s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/load-contents-4gb/.dirs/runtime 776s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/load-contents-4gb-async/.dirs/runtime 776s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/.dirs/runtime 776s ok 25 /file/writev 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/build-attribute-list-for-copy/.dirs/runtime 776s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 776s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 776s # 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::* 776s # 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::* 776s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 776s # Attributes for copy: standard::size,xattr::* 776s # Attributes for copy: standard::size,unix::mode,xattr::* 776s ok 26 /file/build-attribute-list-for-copy 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/move_async/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/move_async/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/move_async/.dirs/system-config1:/tmp/test_file_9M44J3/file/move_async/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/move_async/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/move_async/.dirs/system-data1:/tmp/test_file_9M44J3/file/move_async/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/move_async/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/move_async/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/move_async/.dirs/runtime 776s ok 27 /file/move_async 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/move-async-with-closures/.dirs/runtime 776s ok 28 /file/move-async-with-closures 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/query-zero-length-content-type/.dirs/runtime 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 776s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 776s ok 29 /file/query-zero-length-content-type 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/runtime 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/data/applications 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/config 776s ok 30 /file/query-default-handler-file 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/runtime 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/data/applications 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/config 776s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_9M44J3/file/query-default-handler-file/.dirs/config to /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/config 776s ok 31 /file/query-default-handler-file-async 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/runtime 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/data/applications 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/config 776s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_9M44J3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/config 776s ok 32 /file/query-default-handler-uri 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/runtime 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/data/applications 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/config 776s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_9M44J3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/config 776s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_9M44J3/file/query-default-handler-uri-async/.dirs/config 776s ok 33 /file/query-default-handler-uri-async 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/enumerator-cancellation/.dirs/runtime 776s ok 34 /file/enumerator-cancellation 776s # Start of async-create-delete tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-create-delete/0/.dirs/runtime 776s ok 35 /file/async-create-delete/0 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-create-delete/1/.dirs/runtime 776s ok 36 /file/async-create-delete/1 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-create-delete/10/.dirs/runtime 776s ok 37 /file/async-create-delete/10 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-create-delete/25/.dirs/runtime 776s ok 38 /file/async-create-delete/25 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/async-create-delete/4096/.dirs/runtime 776s ok 39 /file/async-create-delete/4096 776s # End of async-create-delete tests 776s # Start of replace-symlink tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/replace-symlink/using-etag/.dirs/runtime 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 776s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 776s # Using temporary directory /tmp/test_file_9M44J3/g_file_replace_symlink_using_etag_999FK3 778s ok 40 /file/replace-symlink/using-etag 778s # slow test /file/replace-symlink/using-etag executed in 2.02 secs 778s # End of replace-symlink tests 778s # Start of replace tests 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_9M44J3/file/replace/write-only/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_9M44J3/file/replace/write-only/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/replace/write-only/.dirs/runtime 778s # /file/replace/write-only summary: Test various situations for g_file_replace() 778s # Current umask: 2 778s # Test 0, using temporary directory /tmp/test_file_9M44J3/g_file_replace_4RGGK3 778s # Test 1, using temporary directory /tmp/test_file_9M44J3/g_file_replace_JEHGK3 778s # Test 2, using temporary directory /tmp/test_file_9M44J3/g_file_replace_SS0GK3 778s # Test 3, using temporary directory /tmp/test_file_9M44J3/g_file_replace_WV3GK3 778s # Test 4, using temporary directory /tmp/test_file_9M44J3/g_file_replace_UD4GK3 778s # Test 5, using temporary directory /tmp/test_file_9M44J3/g_file_replace_E93GK3 778s # Test 6, using temporary directory /tmp/test_file_9M44J3/g_file_replace_DWTGK3 778s # Test 7, using temporary directory /tmp/test_file_9M44J3/g_file_replace_VPXGK3 778s # Test 8, using temporary directory /tmp/test_file_9M44J3/g_file_replace_UFXGK3 778s # Test 9, using temporary directory /tmp/test_file_9M44J3/g_file_replace_EZXGK3 778s # Test 10, using temporary directory /tmp/test_file_9M44J3/g_file_replace_U3EHK3 778s # Test 11, using temporary directory /tmp/test_file_9M44J3/g_file_replace_6Q5GK3 778s # Test 12, using temporary directory /tmp/test_file_9M44J3/g_file_replace_F65GK3 778s # Test 13, using temporary directory /tmp/test_file_9M44J3/g_file_replace_8T6GK3 778s # Test 14, using temporary directory /tmp/test_file_9M44J3/g_file_replace_KNXEK3 778s # Test 15, using temporary directory /tmp/test_file_9M44J3/g_file_replace_GVTEK3 778s # Test 16, using temporary directory /tmp/test_file_9M44J3/g_file_replace_JKLDK3 778s # Test 17, using temporary directory /tmp/test_file_9M44J3/g_file_replace_D6FDK3 778s # Test 18, using temporary directory /tmp/test_file_9M44J3/g_file_replace_P1YDK3 778s # Test 19, using temporary directory /tmp/test_file_9M44J3/g_file_replace_DCPDK3 778s # Test 20, using temporary directory /tmp/test_file_9M44J3/g_file_replace_KYSDK3 778s # Test 21, using temporary directory /tmp/test_file_9M44J3/g_file_replace_ZP6DK3 778s # Test 22, using temporary directory /tmp/test_file_9M44J3/g_file_replace_TV9DK3 778s # Test 23, using temporary directory /tmp/test_file_9M44J3/g_file_replace_2GAEK3 778s # Test 24, using temporary directory /tmp/test_file_9M44J3/g_file_replace_SU0DK3 778s # Test 25, using temporary directory /tmp/test_file_9M44J3/g_file_replace_B74DK3 778s # Test 26, using temporary directory /tmp/test_file_9M44J3/g_file_replace_RO5DK3 778s # Test 27, using temporary directory /tmp/test_file_9M44J3/g_file_replace_KH5DK3 778s # Test 28, using temporary directory /tmp/test_file_9M44J3/g_file_replace_KUNEK3 778s # Test 29, using temporary directory /tmp/test_file_9M44J3/g_file_replace_LLFEK3 778s # Test 30, using temporary directory /tmp/test_file_9M44J3/g_file_replace_G3FEK3 778s # Test 31, using temporary directory /tmp/test_file_9M44J3/g_file_replace_OUFEK3 778s # Test 32, using temporary directory /tmp/test_file_9M44J3/g_file_replace_463BK3 778s # Test 33, using temporary directory /tmp/test_file_9M44J3/g_file_replace_J0VBK3 778s # Test 34, using temporary directory /tmp/test_file_9M44J3/g_file_replace_ZPVBK3 778s # Test 35, using temporary directory /tmp/test_file_9M44J3/g_file_replace_0DWBK3 778s # Test 36, using temporary directory /tmp/test_file_9M44J3/g_file_replace_WUZBK3 778s # Test 37, using temporary directory /tmp/test_file_9M44J3/g_file_replace_GAFCK3 778s # Test 38, using temporary directory /tmp/test_file_9M44J3/g_file_replace_GOJCK3 778s # Test 39, using temporary directory /tmp/test_file_9M44J3/g_file_replace_62ACK3 778s # Test 40, using temporary directory /tmp/test_file_9M44J3/g_file_replace_PRRCK3 778s # Executing: glib/file.test 778s # Test 41, using temporary directory /tmp/test_file_9M44J3/g_file_replace_ELWCK3 778s # Test 42, using temporary directory /tmp/test_file_9M44J3/g_file_replace_23NCK3 778s # Test 43, using temporary directory /tmp/test_file_9M44J3/g_file_replace_SN4CK3 778s # Test 44, using temporary directory /tmp/test_file_9M44J3/g_file_replace_0Y8CK3 778s # Test 45, using temporary directory /tmp/test_file_9M44J3/g_file_replace_SS8CK3 778s # Test 46, using temporary directory /tmp/test_file_9M44J3/g_file_replace_1G0CK3 778s # Test 47, using temporary directory /tmp/test_file_9M44J3/g_file_replace_I30CK3 778s # Test 48, using temporary directory /tmp/test_file_9M44J3/g_file_replace_7L2CK3 778s # We do not have CAP_DAC_OVERRIDE or equivalent 778s ok 41 /file/replace/write-only 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_9M44J3/file/replace/read-write/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_9M44J3/file/replace/read-write/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/replace/read-write/.dirs/runtime 778s # /file/replace/read-write summary: Test various situations for g_file_replace() 778s # Current umask: 2 778s # Test 0, using temporary directory /tmp/test_file_9M44J3/g_file_replace_0T2CK3 778s # Test 1, using temporary directory /tmp/test_file_9M44J3/g_file_replace_TK3CK3 778s # Test 2, using temporary directory /tmp/test_file_9M44J3/g_file_replace_SGRAK3 778s # Test 3, using temporary directory /tmp/test_file_9M44J3/g_file_replace_3ZIAK3 778s # Test 4, using temporary directory /tmp/test_file_9M44J3/g_file_replace_DHJAK3 778s # Test 5, using temporary directory /tmp/test_file_9M44J3/g_file_replace_49IAK3 778s # Test 6, using temporary directory /tmp/test_file_9M44J3/g_file_replace_X50AK3 778s # Test 7, using temporary directory /tmp/test_file_9M44J3/g_file_replace_1Q4AK3 778s # Test 8, using temporary directory /tmp/test_file_9M44J3/g_file_replace_394AK3 778s # Test 9, using temporary directory /tmp/test_file_9M44J3/g_file_replace_E04AK3 778s # Test 10, using temporary directory /tmp/test_file_9M44J3/g_file_replace_96WAK3 778s # Test 11, using temporary directory /tmp/test_file_9M44J3/g_file_replace_ROFBK3 778s # Test 12, using temporary directory /tmp/test_file_9M44J3/g_file_replace_T9FBK3 778s # Test 13, using temporary directory /tmp/test_file_9M44J3/g_file_replace_I5FBK3 778s # Test 14, using temporary directory /tmp/test_file_9M44J3/g_file_replace_VH7AK3 778s # Test 15, using temporary directory /tmp/test_file_9M44J3/g_file_replace_8UABK3 778s # Test 16, using temporary directory /tmp/test_file_9M44J3/g_file_replace_E7BBK3 778s # Test 17, using temporary directory /tmp/test_file_9M44J3/g_file_replace_IESBK3 778s # Test 18, using temporary directory /tmp/test_file_9M44J3/g_file_replace_VDVBK3 778s # Test 19, using temporary directory /tmp/test_file_9M44J3/g_file_replace_GNLBK3 778s # Test 20, using temporary directory /tmp/test_file_9M44J3/g_file_replace_YROBK3 778s # Test 21, using temporary directory /tmp/test_file_9M44J3/g_file_replace_1QA9J3 778s # Test 22, using temporary directory /tmp/test_file_9M44J3/g_file_replace_K8D9J3 778s # Test 23, using temporary directory /tmp/test_file_9M44J3/g_file_replace_Z6D9J3 778s # Test 24, using temporary directory /tmp/test_file_9M44J3/g_file_replace_HK48J3 778s # Test 25, using temporary directory /tmp/test_file_9M44J3/g_file_replace_RN78J3 778s # Test 26, using temporary directory /tmp/test_file_9M44J3/g_file_replace_D378J3 778s # Test 27, using temporary directory /tmp/test_file_9M44J3/g_file_replace_5Y78J3 778s # Test 28, using temporary directory /tmp/test_file_9M44J3/g_file_replace_ERL9J3 778s # Test 29, using temporary directory /tmp/test_file_9M44J3/g_file_replace_5YP9J3 778s # Test 30, using temporary directory /tmp/test_file_9M44J3/g_file_replace_VHQ9J3 778s # Test 31, using temporary directory /tmp/test_file_9M44J3/g_file_replace_LGQ9J3 778s # Test 32, using temporary directory /tmp/test_file_9M44J3/g_file_replace_M0J9J3 778s # Test 33, using temporary directory /tmp/test_file_9M44J3/g_file_replace_GO19J3 778s # Test 34, using temporary directory /tmp/test_file_9M44J3/g_file_replace_8I19J3 778s # Test 35, using temporary directory /tmp/test_file_9M44J3/g_file_replace_A319J3 778s # Test 36, using temporary directory /tmp/test_file_9M44J3/g_file_replace_FDT9J3 778s # Test 37, using temporary directory /tmp/test_file_9M44J3/g_file_replace_N6V9J3 778s # Test 38, using temporary directory /tmp/test_file_9M44J3/g_file_replace_LECAK3 778s # Test 39, using temporary directory /tmp/test_file_9M44J3/g_file_replace_74FAK3 778s # Test 40, using temporary directory /tmp/test_file_9M44J3/g_file_replace_CB59J3 778s # Test 41, using temporary directory /tmp/test_file_9M44J3/g_file_replace_HGAAK3 778s # Test 42, using temporary directory /tmp/test_file_9M44J3/g_file_replace_75W7J3 778s # Test 43, using temporary directory /tmp/test_file_9M44J3/g_file_replace_W5O7J3 778s # Test 44, using temporary directory /tmp/test_file_9M44J3/g_file_replace_B6S7J3 778s # Test 45, using temporary directory /tmp/test_file_9M44J3/g_file_replace_ZZS7J3 778s # Test 46, using temporary directory /tmp/test_file_9M44J3/g_file_replace_TDA8J3 778s # Test 47, using temporary directory /tmp/test_file_9M44J3/g_file_replace_NBA8J3 778s # Test 48, using temporary directory /tmp/test_file_9M44J3/g_file_replace_CN27J3 778s # We do not have CAP_DAC_OVERRIDE or equivalent 778s ok 42 /file/replace/read-write 778s # End of replace tests 778s # Start of copy tests 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/copy/progress/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/copy/progress/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/copy/progress/.dirs/system-config1:/tmp/test_file_9M44J3/file/copy/progress/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/copy/progress/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/copy/progress/.dirs/system-data1:/tmp/test_file_9M44J3/file/copy/progress/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/copy/progress/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/copy/progress/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/copy/progress/.dirs/runtime 778s ok 43 /file/copy/progress 778s # End of copy tests 778s # Start of writev tests 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/no-bytes-written/.dirs/runtime 778s ok 44 /file/writev/no-bytes-written 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/no-vectors/.dirs/runtime 778s ok 45 /file/writev/no-vectors 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/empty-vectors/.dirs/runtime 778s ok 46 /file/writev/empty-vectors 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/too-big-vectors/.dirs/runtime 778s ok 47 /file/writev/too-big-vectors 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/async/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/async/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/async/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/async/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/async/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/async/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/async/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/async/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/async/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/async/.dirs/runtime 778s ok 48 /file/writev/async 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/async_all/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/async_all/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/async_all/.dirs/runtime 778s ok 49 /file/writev/async_all 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/async_all-empty-vectors/.dirs/runtime 778s ok 50 /file/writev/async_all-empty-vectors 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/async_all-no-vectors/.dirs/runtime 778s ok 51 /file/writev/async_all-no-vectors 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/async_all-to-big-vectors/.dirs/runtime 778s ok 52 /file/writev/async_all-to-big-vectors 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/writev/async_all-cancellation/.dirs/runtime 778s ok 53 /file/writev/async_all-cancellation 778s # End of writev tests 778s # Start of from-uri tests 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/from-uri/ignores-query-string/.dirs/runtime 778s ok 54 /file/from-uri/ignores-query-string 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_9M44J3/file/from-uri/ignores-fragment/.dirs/runtime 778s ok 55 /file/from-uri/ignores-fragment 778s # End of from-uri tests 778s # End of file tests 778s TAP version 14 778s # random seed: R02Sda69afca368eccc618b76002eec4753c 778s 1..4 778s # Start of socket-listener tests 778s ok 1 /socket-listener/event-signal 778s # Start of accept tests 778s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 778s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 778s ok - glib/file.test 778s # Running test: glib/socket-listener.test 778s ok - glib/socket-listener.test 778s # Running test: glib/gutils-user-database.test 778s ok - glib/gutils-user-database.test 778s # Running test: glib/testing-nonfatal.test 778s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac28855a510 and GSocketClientAsyncConnectData 0xac288555970 778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac28855cb60 and GSocketClientAsyncConnectData 0xac28855c9b0 778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac28855d380 and GSocketClientAsyncConnectData 0xac28855d100 778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac28855dc00 and GSocketClientAsyncConnectData 0xac28855d980 778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac28855e420 and GSocketClientAsyncConnectData 0xac28855e1a0 778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac288560970 for GSocketClientAsyncConnectData 0xac288555970 778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac288562ae0 for GSocketClientAsyncConnectData 0xac28855c9b0 778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac288563290 for GSocketClientAsyncConnectData 0xac28855d100 778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac288563930 for GSocketClientAsyncConnectData 0xac28855d980 778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac288560000 for GSocketClientAsyncConnectData 0xac28855e1a0 778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 778s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 778s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 778s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 778s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 778s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 778s ok 2 /socket-listener/accept/multi-simultaneously 778s # End of accept tests 778s # Start of add-any-inet-port tests 778s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 778s # Test 0 778s # Test 1 778s # Test 2 778s # Test 3 778s # Test 4 778s # Test 5 778s # Test 6 778s # Test 7 778s # Test 8 778s # Test 9 778s # Test 10 778s ok 3 /socket-listener/add-any-inet-port/listen-failures 778s # End of add-any-inet-port tests 778s # Start of add-inet-port tests 778s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 778s # Test 0 778s # Test 1 778s # Test 2 778s # Test 3 778s # Test 4 778s # Test 5 778s # Test 6 778s # Test 7 778s # Test 8 778s # Test 9 778s # Test 10 778s ok 4 /socket-listener/add-inet-port/listen-failures 778s # End of add-inet-port tests 778s # End of socket-listener tests 778s TAP version 14 778s # random seed: R02Saa2c4259d361dc56e1e50e07a0b5be0c 778s 1..1 778s # Start of gutils tests 778s ok 1 /gutils/get_user_database_entry 778s # End of gutils tests 778s ok - glib/testing-nonfatal.test 778s # Running test: glib/portal-support-snap-classic.test 778s TAP version 14 778s # random seed: R02S045acd57a9aff56e9120781333cb11e7 778s ** 778s GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 778s # GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 778s TAP version 14 778s # random seed: R02S24128bc59ce3ce2e19f165be8d3f14f9 778s 1..3 778s # Start of portal-support tests 778s # Start of snap-classic tests 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl/.dirs/runtime 778s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/no-snapctl: No such file or directory 778s ok 1 /portal-support/snap-classic/no-snapctl 778s ok - glib/portal-support-snap-classic.test 778s # Running test: glib/accumulator.test 778s ok - glib/accumulator.test 778s # Running test: glib/gdbus-proxy-threads.test 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/runtime 778s # Created snap.yaml in /tmp/test_portal-support-snap-classic_ZQQ8J3/meta/snap.yaml 778s # Created snapctl in /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none/.dirs/runtime/snapctl 778s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/none: No such file or directory 778s ok 2 /portal-support/snap-classic/none 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/runtime 778s # Created snap.yaml in /tmp/test_portal-support-snap-classic_ZQQ8J3/meta/snap.yaml 778s # Created snapctl in /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all/.dirs/runtime/snapctl 778s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQQ8J3/portal-support/snap-classic/all: No such file or directory 778s ok 3 /portal-support/snap-classic/all 778s # End of snap-classic tests 778s # End of portal-support tests 778s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_ZQQ8J3: No such file or directory 778s TAP version 14 778s # random seed: R02S6ff85847f79cbf09d24cc123044b6598 778s 1..1 778s # Start of gobject tests 778s ok 1 /gobject/accumulator 778s # End of gobject tests 778s TAP version 14 778s # random seed: R02Scf3bddf2c5677a66cac9f668b3bc09d0 778s 1..1 778s # Start of gdbus tests 778s # Start of proxy tests 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_5EG6J3/gdbus/proxy/vs-threads/.dirs/runtime 780s ok - glib/gdbus-proxy-threads.test 780s ok 1 /gdbus/proxy/vs-threads 780s # slow test /gdbus/proxy/vs-threads executed in 1.60 secs 780s # End of proxy tests 780s # End of gdbus tests 780s cleaning up pid 12793 780s # Running test: glib/gobject-query.py.test 780s TAP version 13 780s ok 1 __main__.TestGobjectQuery.test_froots 780s # gobject-query: /usr/bin/gobject-query 780s # tmpdir: /tmp/tmp8rftckpe 780s # Running: ['/usr/bin/gobject-query', 'froots'] 780s # Return code: 0 780s # Output: 780s # ├void 780s # ├GInterface 780s # │ └GTypePlugin 780s # ├gchar 780s # ├guchar 780s # ├gboolean 780s # ├gint 780s # ├guint 780s # ├glong 780s # ├gulong 780s # ├gint64 780s # ├guint64 780s # ├GEnum 780s # ├GFlags 780s # ├gfloat 780s # ├gdouble 780s # ├gchararray 780s # ├gpointer 780s # │ └GType 780s # ├GBoxed 780s # │ └GValueArray 780s # ├GParam 780s # │ ├GParamChar 780s # │ ├GParamUChar 780s # │ ├GParamBoolean 780s # │ ├GParamInt 780s # │ ├GParamUInt 780s # │ ├GParamLong 780s # │ ├GParamULong 780s # │ ├GParamInt64 780s # │ ├GParamUInt64 780s # │ ├GParamUnichar 780s # │ ├GParamEnum 780s # │ ├GParamFlags 780s # │ ├GParamFloat 780s # │ ├GParamDouble 780s # │ ├GParamString 780s # │ ├GParamParam 780s # │ ├GParamBoxed 780s # │ ├GParamPointer 780s # │ ├GParamValueArray 780s # │ ├GParamObject 780s # │ ├GParamOverride 780s # │ ├GParamGType 780s # │ └GParamVariant 780s # ├GObject 780s # └GVariant 780s # Error: 780s ok 2 __main__.TestGobjectQuery.test_help 780s # gobject-query: /usr/bin/gobject-query 780s # tmpdir: /tmp/tmpx3042yhj 780s # Running: ['/usr/bin/gobject-query', '--help'] 780s # Return code: 0 780s # Output: 780s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 780s # -r specify root type 780s # -n don't descend type tree 780s # -h show help 780s # -b specify indent string 780s # -i specify incremental indent string 780s # -s specify line spacing 780s # qualifiers: 780s # froots iterate over fundamental roots 780s # tree print type tree 780s # Error: 780s ok 3 __main__.TestGobjectQuery.test_tree 780s # gobject-query: /usr/bin/gobject-query 780s # tmpdir: /tmp/tmp2a0frn17 780s # Running: ['/usr/bin/gobject-query', 'tree'] 780s # Return code: 0 780s # Output: 780s # GObject 780s # Error: 780s ok 4 __main__.TestGobjectQuery.test_version 780s # gobject-query: /usr/bin/gobject-query 780s # tmpdir: /tmp/tmpkyb4an7n 780s # Running: ['/usr/bin/gobject-query', '--version'] 780s # Return code: 0 780s # Output: 780s # 2.86.3 780s # Error: 780s 1..4 780s ok - glib/gobject-query.py.test 780s # Running test: glib/contenttype.test 780s TAP version 14 780s # random seed: R02S0faba6701a0074249df7c993a69b224c 780s 1..14 780s # Start of contenttype tests 780s ok 1 /contenttype/guess 780s ok 2 /contenttype/guess_svg_from_data 780s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 780s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 780s ok 5 /contenttype/unknown 780s ok 6 /contenttype/subtype 780s ok - glib/contenttype.test 780s # Running test: glib/socket.test 780s ok 7 /contenttype/list 780s ok 8 /contenttype/executable 780s ok 9 /contenttype/description 780s ok 10 /contenttype/icon 780s ok 11 /contenttype/symbolic-icon 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 780s ok 12 /contenttype/tree 780s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 780s ok 13 /contenttype/tree_invalid_encoding 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 780s ok 14 /contenttype/test_type_is_a_special_case 780s # End of contenttype tests 780s TAP version 14 780s # random seed: R02S3077e9193c07b4ad7cdac5be5b7f616e 780s 1..30 780s # Start of socket tests 781s ok 1 /socket/ipv4_sync 781s # slow test /socket/ipv4_sync executed in 1.01 secs 782s ok 2 /socket/ipv4_async 782s # slow test /socket/ipv4_async executed in 1.00 secs 782s ok 3 /socket/ipv6_sync 782s ok 4 /socket/ipv6_async 782s ok 5 /socket/ipv6_v4mapped 783s ok 6 /socket/close_graceful 783s # slow test /socket/close_graceful executed in 1.00 secs 783s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 783s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 783s ok 8 /socket/fd_reuse 783s ok 9 /socket/address 783s ok 10 /socket/unix-from-fd 783s ok 11 /socket/unix-connection 783s ok 12 /socket/unix-connection-ancillary-data 783s ok 13 /socket/source-postmortem 783s ok 14 /socket/read_write 783s ok 15 /socket/read_writev 783s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 783s ok 16 /socket/receive_bytes 783s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 783s ok 17 /socket/receive_bytes_from 783s # Start of ipv4_sync tests 783s ok 18 /socket/ipv4_sync/datagram 783s # Start of datagram tests 783s # Executing: glib/socket.test 784s ok 19 /socket/ipv4_sync/datagram/timeouts 784s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 784s # End of datagram tests 784s # End of ipv4_sync tests 784s # Start of ipv6_sync tests 784s ok 20 /socket/ipv6_sync/datagram 784s # Start of datagram tests 785s ok 21 /socket/ipv6_sync/datagram/timeouts 785s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 785s # End of datagram tests 785s # End of ipv6_sync tests 785s # Start of reuse tests 785s ok 22 /socket/reuse/tcp 785s ok 23 /socket/reuse/udp 785s # End of reuse tests 785s # Start of get_available tests 785s ok 24 /socket/get_available/datagram 785s ok 25 /socket/get_available/stream 785s # End of get_available tests 785s # Start of credentials tests 785s # Supported on this OS: GCredentials:linux-ucred:pid=0 785s ok 26 /socket/credentials/tcp_client 785s # Supported on this OS: GCredentials:linux-ucred:pid=0 785s ok 27 /socket/credentials/tcp_server 785s # Supported on this OS: GCredentials:linux-ucred:pid=12809,uid=1000,gid=1000 785s ok 28 /socket/credentials/unix_socketpair 785s # End of credentials tests 785s # Start of accept tests 785s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 785s ok 29 /socket/accept/cancelled 785s # End of accept tests 785s # Start of connect tests 785s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 785s ok 30 /socket/connect/cancelled 785s # End of connect tests 785s # End of socket tests 785s ok - glib/socket.test 785s # Running test: glib/permission.test 785s TAP version 14 785s # random seed: R02S3168e37e35e4c97e7c47522f4d491561 785s 1..1 785s # Start of permission tests 785s ok 1 /permission/simple 785s # End of permission tests 785s ok - glib/permission.test 785s # Running test: glib/g-file-info-filesystem-readonly.test 785s TAP version 14 785s # random seed: R02S9c13daa9c79b8c43d0ad1ed7bded0e35 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 785s 1..2 785s # Start of g-file-info-filesystem-readonly tests 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 785s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_DNM6J3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 785s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 785s # End of g-file-info-filesystem-readonly tests 785s TAP version 14 785s # random seed: R02Se004d5e811aebc008ed60bf1042d7acd 785s 1..4 785s # Start of filter-stream tests 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 785s ok 1 /filter-stream/input 785s ok 2 /filter-stream/output 785s ok 3 /filter-stream/async-input 785s ok 4 /filter-stream/async-output 785s # End of filter-stream tests 785s ok - glib/g-file-info-filesystem-readonly.test 785s # Running test: glib/filter-streams.test 785s ok - glib/filter-streams.test 785s # Running test: glib/singleton.test 785s ok - glib/singleton.test 785s # Running test: glib/qdata.test 785s TAP version 14 785s # random seed: R02S2662dd9763ab3a1d6b9960eae33a5af9 785s 1..2 785s # Start of gobject tests 785s # Start of singleton tests 785s ok 1 /gobject/singleton/construction 785s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 785s ok 2 /gobject/singleton/construct-property 785s # End of singleton tests 785s # End of gobject tests 785s TAP version 14 785s # random seed: R02Se383a14c11113273b8acb533aa09797e 785s 1..2 785s # Start of qdata tests 786s ok - glib/qdata.test 786s ok 1 /qdata/threaded 786s ok 2 /qdata/dup 786s # End of qdata tests 786s # Running test: glib/markup-subparser.test 786s TAP version 14 786s # random seed: R02S007dddfb1105f178314a1ff35aa676e0 786s 1..14 786s # Start of glib tests 786s # Start of markup tests 786s # Start of subparser tests 786s # Start of success tests 786s ok 1 /glib/markup/subparser/success/0 786s ok 2 /glib/markup/subparser/success/1 786s ok 3 /glib/markup/subparser/success/2 786s ok 4 /glib/markup/subparser/success/3 786s ok 5 /glib/markup/subparser/success/4 786s ok 6 /glib/markup/subparser/success/5 786s ok 7 /glib/markup/subparser/success/6 786s # End of success tests 786s # Start of failure tests 786s ok 8 /glib/markup/subparser/failure/0 786s ok 9 /glib/markup/subparser/failure/1 786s ok 10 /glib/markup/subparser/failure/2 786s ok 11 /glib/markup/subparser/failure/3 786s ok 12 /glib/markup/subparser/failure/4 786s ok 13 /glib/markup/subparser/failure/5 786s ok 14 /glib/markup/subparser/failure/6 786s # End of failure tests 786s # End of subparser tests 786s # End of markup tests 786s # End of glib tests 786s ok - glib/markup-subparser.test 786s # Running test: glib/deprecated-properties.test 786s TAP version 14 786s # random seed: R02Se02633a4bd9bec7de458948512fed7db 786s 1..3 786s # Start of deprecated-properties tests 786s ok 1 /deprecated-properties/construct 786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 786s ok 2 /deprecated-properties/default-construct 786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 786s ok - glib/deprecated-properties.test 786s ok 3 /deprecated-properties/set 786s # End of deprecated-properties tests 786s # Running test: glib/include.test 786s TAP version 14 786s # random seed: R02S8dca96df8debe08d2747e0e0a9dde189 786s 1..1 786s # Start of include tests 786s ok 1 /include/rwlock 786s # End of include tests 786s ok - glib/include.test 786s # Running test: glib/gio-tool.py.test 786s TAP version 13 786s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmppks5yg13 786s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmppks5yg13/folder/desktop.entry'] 786s # Working Directory: /tmp/tmppks5yg13/folder 786s # Return code: 0 786s # Output: 786s # /tmp/tmppks5yg13/folder/desktop.entry 786s # Error: 786s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmpp9h4njfr 786s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpp9h4njfr/folder/desktop.entry'] 786s # Working Directory: /tmp/tmpp9h4njfr 786s # Return code: 0 786s # Output: 786s # /tmp/tmpp9h4njfr/folder/desktop.entry 786s # Error: 786s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmp6yvlfrql 786s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp6yvlfrql/folder/desktop.entry'] 786s # Working Directory: /tmp/tmp6yvlfrql/sibling 786s # Return code: 0 786s # Output: 786s # /tmp/tmp6yvlfrql/folder/desktop.entry 786s # Error: 786s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmp1asxjf2s 786s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 786s # Working Directory: /tmp/tmp1asxjf2s/folder 786s # Return code: 0 786s # Output: 786s # /tmp/tmp1asxjf2s/folder/desktop.entry 786s # Error: 786s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmph1j9c5pz 786s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 786s # Working Directory: /tmp/tmph1j9c5pz 786s # Return code: 0 786s # Output: 786s # /tmp/tmph1j9c5pz/folder/desktop.entry 786s # Error: 786s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmpdo5cxci2 786s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 786s # Working Directory: /tmp/tmpdo5cxci2/sibling 786s # Return code: 0 786s # Output: 786s # /tmp/tmpdo5cxci2/folder/desktop.entry 786s # Error: 786s ok 7 __main__.TestGioTool.test_help 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmp7612qe92 786s # Running: ['/usr/bin/gio', '--help'] 786s # Return code: 0 786s # Output: 786s # Usage: 786s # gio COMMAND [ARGS…] 786s # 786s # Commands: 786s # help Print help 786s # version Print version 786s # cat Concatenate files to standard output 786s # copy Copy one or more files 786s # info Show information about locations 786s # launch Launch an application from a desktop file 786s # list List the contents of locations 786s # mime Get or set the handler for a mimetype 786s # mkdir Create directories 786s # monitor Monitor files and directories for changes 786s # mount Mount or unmount the locations 786s # move Move one or more files 786s # open Open files with the default application 786s # rename Rename a file 786s # remove Delete one or more files 786s # save Read from standard input and save 786s # set Set a file attribute 786s # trash Move files or directories to the trash 786s # tree Lists the contents of locations in a tree 786s # 786s # Use “gio help COMMAND” to get detailed help. 786s # Error: 786s # 786s # Running: ['/usr/bin/gio', 'help'] 786s # Return code: 0 786s # Output: 786s # Usage: 786s # gio COMMAND [ARGS…] 786s # 786s # Commands: 786s # help Print help 786s # version Print version 786s # cat Concatenate files to standard output 786s # copy Copy one or more files 786s # info Show information about locations 786s # launch Launch an application from a desktop file 786s # list List the contents of locations 786s # mime Get or set the handler for a mimetype 786s # mkdir Create directories 786s # monitor Monitor files and directories for changes 786s # mount Mount or unmount the locations 786s # move Move one or more files 786s # open Open files with the default application 786s # rename Rename a file 786s # remove Delete one or more files 786s # save Read from standard input and save 786s # set Set a file attribute 786s # trash Move files or directories to the trash 786s # tree Lists the contents of locations in a tree 786s # 786s # Use “gio help COMMAND” to get detailed help. 786s # Error: 786s ok 8 __main__.TestGioTool.test_info_non_default_attributes 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmptaeqxmmg 786s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmptaeqxmmg/tmpk5uupu5v'] 786s # Return code: 0 786s # Output: 786s # uri: file:///tmp/tmptaeqxmmg/tmpk5uupu5v 786s # local path: /tmp/tmptaeqxmmg/tmpk5uupu5v 786s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 786s # attributes: 786s # standard::content-type: application/x-zerosize 786s # Error: 786s ok 9 __main__.TestGioTool.test_no_args 786s # gio: /usr/bin/gio 786s # tmpdir: /tmp/tmp_mge5n7z 786s # Running: ['/usr/bin/gio'] 786s # Return code: 1 786s # Output: 786s # 786s # Error: 786s # Usage: 786s # gio COMMAND [ARGS…] 786s # 786s # Commands: 786s # help Print help 786s # version Print version 786s # cat Concatenate files to standard output 786s # copy Copy one or more files 786s # info Show information about locations 786s # launch Launch an application from a desktop file 786s # list List the contents of locations 786s # mime Get or set the handler for a mimetype 786s # mkdir Create directories 786s # monitor Monitor files and directories for changes 786s # mount Mount or unmount the locations 786s # move Move one or more files 786s # open Open files with the default application 786s # rename Rename a file 786s # remove Delete one or more files 786s # save Read from standard input and save 786s # set Set a file attribute 786s # trash Move files or directories to the trash 786s # tree Lists the contents of locations in a tree 786s # 786s # Use “gio help COMMAND” to get detailed help. 786s 1..9 786s ok - glib/gio-tool.py.test 786s # Running test: glib/gmenumodel.test 786s TAP version 14 786s # random seed: R02S9a3fb9532ffad7688720349ec29464ec 786s 1..15 786s # Start of gmenu tests 787s ok 1 /gmenu/equality 787s # slow test /gmenu/equality executed in 1.51 secs 788s # Executing: glib/gmenumodel.test 789s ok 2 /gmenu/random 789s # slow test /gmenu/random executed in 1.95 secs 789s ok 3 /gmenu/attributes 789s ok 4 /gmenu/links 789s ok 5 /gmenu/mutable 789s ok 6 /gmenu/convenience 789s ok 7 /gmenu/menuitem 789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 789s ok 8 /gmenu/input-validation 789s # Start of dbus tests 790s ok 9 /gmenu/dbus/roundtrip 790s # slow test /gmenu/dbus/roundtrip executed in 1.10 secs 791s ok 10 /gmenu/dbus/subscriptions 792s ok 11 /gmenu/dbus/threaded 792s # slow test /gmenu/dbus/threaded executed in 1.34 secs 792s # Start of peer tests 793s # Executing: glib/gmenumodel.test 793s not ok - Test timed out after 300 seconds 793s ok 12 /gmenu/dbus/peer/roundtrip 793s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 794s ok - glib/gmenumodel.test 794s # Running test: glib/option-argv0.test 794s ok 13 /gmenu/dbus/peer/subscriptions 794s # End of peer tests 794s # Start of export tests 794s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 794s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 794s ok 14 /gmenu/dbus/export/error-handling 794s # End of export tests 794s # End of dbus tests 794s # Start of attributes tests 794s ok 15 /gmenu/attributes/iterate 794s # End of attributes tests 794s # End of gmenu tests 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s ok - glib/option-argv0.test 794s TAP version 14 794s # random seed: R02S13a5b3d36a41e09fdfc8904793823805 794s 1..1 794s # Start of option tests 794s ok 1 /option/argv0 794s # End of option tests 794s # Running test: glib/io-stream.test 794s TAP version 14 794s # random seed: R02S81ec6cd3aa01dc0407db824329dbb3c5 794s 1..3 794s # Start of io-stream tests 794s ok 1 /io-stream/copy-chunks 794s # Start of close tests 794s # Start of async tests 794s ok 2 /io-stream/close/async/memory 794s ok - glib/io-stream.test 794s # Running test: glib/value.test 794s ok - glib/value.test 794s # Running test: glib/dataset.test 794s ok - glib/dataset.test 794s # Running test: glib/object.test 794s ok - glib/object.test 794s # Running test: glib/gdbus-proxy.test 794s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 794s ok 3 /io-stream/close/async/file 794s # End of async tests 794s # End of close tests 794s # End of io-stream tests 794s TAP version 14 794s # random seed: R02Sbe742ededcbd0b43d8ec6d92fc70ba62 794s 1..9 794s # Start of value tests 794s ok 1 /value/basic 794s ok 2 /value/collection 794s ok 3 /value/copying 794s ok 4 /value/enum-transformation 794s ok 5 /value/gtype 794s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 794s ok 6 /value/string 794s # Next: GObject object in GValue of GObject to GValue of GObject 794s # Next: GObject object in GValue of GObject to GValue of TestInterface 794s # Next: GObject object in GValue of GObject to GValue of TestObjectA 794s # Next: GObject object in GValue of GObject to GValue of TestObjectB 794s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 794s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 794s # Next: TestObjectA object in GValue of GObject to GValue of GObject 794s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 794s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 794s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 794s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 794s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 794s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 794s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 794s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 794s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 794s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 794s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 794s # Next: TestObjectB object in GValue of GObject to GValue of GObject 794s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 794s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 794s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 794s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 794s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 794s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 794s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 794s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 794s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 794s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 794s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 794s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 794s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 794s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 794s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 794s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 794s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 794s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 794s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 794s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 794s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 794s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 794s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 794s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 794s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 794s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 794s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 794s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 794s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 794s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 794s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 794s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 794s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 794s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 794s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 794s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 794s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 794s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 794s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 794s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 794s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 794s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 794s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 794s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 794s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 794s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 794s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 794s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 794s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 794s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 794s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 794s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 794s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 794s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 794s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 794s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 794s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 794s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 794s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 794s ok 7 /value/transform-object 794s # Start of array tests 794s ok 8 /value/array/basic 794s ok 9 /value/array/sort-with-data 794s # End of array tests 794s # End of value tests 794s TAP version 14 794s # random seed: R02Se020873ee69907781cd82ea8f679ea1b 794s 1..15 794s # Start of quark tests 794s ok 1 /quark/basic 794s ok 2 /quark/string 794s # End of quark tests 794s # Start of dataset tests 794s ok 3 /dataset/basic 794s ok 4 /dataset/id 794s ok 5 /dataset/full 794s ok 6 /dataset/foreach 794s ok 7 /dataset/destroy 794s # End of dataset tests 794s # Start of datalist tests 794s ok 8 /datalist/id 794s ok 9 /datalist/recursive-clear 794s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 794s ok 10 /datalist/id-remove-multiple 794s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 794s ok 11 /datalist/id-remove-multiple-destroy-order 794s ok 12 /datalist/update-atomic 794s # Start of basic tests 794s ok 13 /datalist/basic/few 794s ok 14 /datalist/basic/many 794s # End of basic tests 794s # Start of id-remove-multiple tests 794s ok 15 /datalist/id-remove-multiple/resize 794s # End of id-remove-multiple tests 794s # End of datalist tests 794s TAP version 14 794s # random seed: R02S4677a661f2078b1ece4144e4e99acc3f 794s 1..2 794s # Start of object tests 794s # Start of constructor tests 794s ok 1 /object/constructor/singleton 794s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 794s # End of constructor tests 794s # End of object tests 794s TAP version 14 794s # random seed: R02S4ab9f2583ca50758b7dd6efb4ca1edec 794s 1..5 794s # Start of gdbus tests 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/.dirs/runtime 796s ok 1 /gdbus/proxy 796s # slow test /gdbus/proxy executed in 1.77 secs 796s # Start of proxy tests 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-properties/.dirs/runtime 796s ok 2 /gdbus/proxy/no-properties 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/wellknown-noauto/.dirs/runtime 796s ok 3 /gdbus/proxy/wellknown-noauto 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/async/.dirs/runtime 797s ok 4 /gdbus/proxy/async 797s # slow test /gdbus/proxy/async executed in 1.79 secs 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8OPLK3/gdbus/proxy/no-match-rule/.dirs/runtime 797s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 798s # Executing: glib/gdbus-proxy.test 799s ok 5 /gdbus/proxy/no-match-rule 799s # slow test /gdbus/proxy/no-match-rule executed in 1.81 secs 799s # End of proxy tests 799s # End of gdbus tests 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s ok - glib/gdbus-proxy.test 799s # Running test: glib/cxx-2b.test 799s TAP version 14 799s # random seed: R02Sabc741df53ec3d16bb93637f46b53d6d 799s 1..2 799s # Start of gtask tests 799s # 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. 799s ok 1 /gtask/name 799s # Start of name tests 799s # 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. 799s ok 2 /gtask/name/macro-wrapper 799s # End of name tests 799s # End of gtask tests 799s ok - glib/cxx-2b.test 799s # Running test: glib/environment.test 799s TAP version 14 799s # random seed: R02S67305a466a0d07cd759acc25b46ad005 799s 1..7 799s # Start of environ tests 799s ok - glib/environment.test 799s # Running test: glib/portal-support-none.test 799s ok - glib/portal-support-none.test 799s # Running test: glib/flags.test 799s # /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. 799s ok 1 /environ/listenv 799s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 799s ok 2 /environ/getenv 799s ok 3 /environ/setenv 799s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 799s ok 4 /environ/array 799s # /environ/null summary: Test getting and setting variables on a NULL envp array. 799s ok 5 /environ/null 799s # /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. 799s ok 6 /environ/case 799s # /environ/expansion summary: Test expansion of environment variable references. 799s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 799s # End of environ tests 799s TAP version 14 799s # random seed: R02S452aff0e82f123b614f9a16f25ffed60 799s 1..1 799s # Start of portal-support tests 799s ok 1 /portal-support/none 799s # End of portal-support tests 799s TAP version 14 799s # random seed: R02Se98033b9ba16d26c49f0262c0635ca4d 799s 1..1 799s # Start of gobject tests 799s # Start of flags tests 799s ok 1 /gobject/flags/validate 799s # End of flags tests 799s # End of gobject tests 799s TAP version 14 799s # random seed: R02Scfbc60f71ccd6f6ba79dd943cfd8f96d 799s 1..3 799s # Start of module tests 799s ok 1 /module/basics 799s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 799s ok 2 /module/invalid-libtool-archive 799s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 799s ok 3 /module/local-binding 799s # End of module tests 799s TAP version 14 799s # random seed: R02S9ca37890f105bd8dac57ba5206f63e02 799s 1..2 799s # Start of object-info tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/state 799s ok - glib/flags.test 799s # Running test: glib/module-test-plugin.test 799s ok - glib/module-test-plugin.test 799s # Running test: glib/object-info.test 799s ok - glib/object-info.test 799s # Running test: glib/performance-threaded.test 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_JZ4BK3/object-info/find-method-using-interfaces/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 1 /object-info/find-method-using-interfaces 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_JZ4BK3/object-info/find-vfunc-using-interfaces/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 2 /object-info/find-vfunc-using-interfaces 799s # End of object-info tests 799s Running test "liststore-is-a" 800s 2267 runs, min/avg/max = 0.435/0.441/0.696 ms 800s Running test "liststore-interface-peek" 801s 2868 runs, min/avg/max = 0.347/0.349/0.493 ms 801s Running test "liststore-interface-peek-same" 802s ok - glib/performance-threaded.test 802s # Running test: glib/tls-interaction.test 802s 2842 runs, min/avg/max = 0.347/0.352/1.037 ms 802s TAP version 14 802s # random seed: R02Scb642b44471f4886b6de42a585c61162 802s 1..42 802s # Start of tls-interaction tests 802s # Start of ask-password tests 802s # Start of invoke-with-loop tests 802s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 802s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 802s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 802s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 802s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 802s # End of invoke-with-loop tests 802s # Start of invoke-without-loop tests 802s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 802s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 802s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 802s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 802s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 802s # End of invoke-without-loop tests 802s # Start of invoke-in-loop tests 802s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 802s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 802s ok - glib/tls-interaction.test 802s # Running test: glib/tree.test 802s ok - glib/tree.test 802s # Running test: glib/mainloop.test 802s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 802s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 802s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 802s # End of invoke-in-loop tests 802s # Start of sync tests 802s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 802s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 802s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 802s # End of sync tests 802s # Start of async tests 802s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 802s ok 20 /tls-interaction/ask-password/async/async-implementation-success 802s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 802s # End of async tests 802s # End of ask-password tests 802s # Start of request-certificate tests 802s # Start of invoke-with-loop tests 802s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 802s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 802s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 802s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 802s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 802s # End of invoke-with-loop tests 802s # Start of invoke-without-loop tests 802s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 802s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 802s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 802s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 802s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 802s # End of invoke-without-loop tests 802s # Start of invoke-in-loop tests 802s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 802s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 802s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 802s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 802s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 802s # End of invoke-in-loop tests 802s # Start of sync tests 802s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 802s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 802s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 802s # End of sync tests 802s # Start of async tests 802s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 802s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 802s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 802s # End of async tests 802s # End of request-certificate tests 802s # End of tls-interaction tests 802s TAP version 14 802s # random seed: R02S3be2d1d34d0bcdcc4d93008eb3d2f7d5 802s 1..7 802s # Start of tree tests 802s ok 1 /tree/search 802s ok 2 /tree/remove 802s ok 3 /tree/destroy 802s ok 4 /tree/traverse 802s ok 5 /tree/insert 802s ok 6 /tree/bounds 802s ok 7 /tree/remove-all 802s # End of tree tests 802s TAP version 14 802s # random seed: R02Sf105e86a0766de995a868cfe624547de 802s 1..47 802s # Start of maincontext tests 802s ok 1 /maincontext/basic 802s # Add same-priority sources: 39 802s # Find each source: 19 802s # Remove in random order: 55 802s ok 2 /maincontext/nsources_same_priority 802s # Add different-priority sources: 45 802s # Find each source: 19 803s # Remove in random order: 59 803s ok 3 /maincontext/nsources_different_priority 803s # Add sources from threads: 260 803s # Remove sources from threads: 162 803s ok 4 /maincontext/nsources_threadpool 803s ok 5 /maincontext/source_finalization 803s # /maincontext/idle-once summary: Test g_idle_add_once() works 803s ok 6 /maincontext/idle-once 803s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 803s ok 7 /maincontext/timeout-once 803s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 803s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 803s # Start of source_finalization_from_source tests 803s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 9 /maincontext/source_finalization_from_source/0 803s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 10 /maincontext/source_finalization_from_source/1 803s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 11 /maincontext/source_finalization_from_source/2 803s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 12 /maincontext/source_finalization_from_source/3 803s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 13 /maincontext/source_finalization_from_source/4 803s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 14 /maincontext/source_finalization_from_source/5 803s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 15 /maincontext/source_finalization_from_source/6 803s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 16 /maincontext/source_finalization_from_source/7 803s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 17 /maincontext/source_finalization_from_source/8 803s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 18 /maincontext/source_finalization_from_source/9 803s # End of source_finalization_from_source tests 803s # Start of source_finalization_from_dispatch tests 803s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 803s ok 19 /maincontext/source_finalization_from_dispatch/0 803s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 803s ok 20 /maincontext/source_finalization_from_dispatch/1 803s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 803s ok 21 /maincontext/source_finalization_from_dispatch/2 803s # End of source_finalization_from_dispatch tests 803s # End of maincontext tests 803s # Start of mainloop tests 803s ok 22 /mainloop/basic 803s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 803s ok 24 /mainloop/priorities 803s # Executing: glib/mainloop.test 804s ok 25 /mainloop/invoke 804s # slow test /mainloop/invoke executed in 0.50 secs 805s ok 26 /mainloop/child_sources 805s # slow test /mainloop/child_sources executed in 1.18 secs 807s ok 27 /mainloop/recursive_child_sources 807s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 807s ok 28 /mainloop/recursive_loop_child_sources 807s ok 29 /mainloop/swapping_child_sources 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 807s ok 30 /mainloop/blocked_child_sources 808s ok 31 /mainloop/source_time 808s # slow test /mainloop/source_time executed in 1.00 secs 808s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 808s ok 32 /mainloop/overflow 808s # Executing: glib/mainloop.test 808s ok 33 /mainloop/ready-time 808s # slow test /mainloop/ready-time executed in 0.50 secs 808s ok 34 /mainloop/wakeup 808s ok 35 /mainloop/remove-invalid 808s ok 36 /mainloop/unref-while-pending 810s ok 37 /mainloop/unix-fd 810s # slow test /mainloop/unix-fd executed in 1.47 secs 810s ok 38 /mainloop/unix-fd-source 810s ok 39 /mainloop/source-unix-fd-api 810s ok 40 /mainloop/wait 810s ok 41 /mainloop/unix-file-poll 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 810s ok 42 /mainloop/unix-fd-priority 810s ok 43 /mainloop/nfds 810s ok 44 /mainloop/steal-fd 812s ok 45 /mainloop/simultaneous-source-context-destruction 812s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.89 secs 812s # Start of ownerless-polling tests 812s ok 46 /mainloop/ownerless-polling/attach-first 812s ok 47 /mainloop/ownerless-polling/pop-first 812s # End of ownerless-polling tests 812s # End of mainloop tests 812s ok - glib/mainloop.test 812s # Running test: glib/gdbus-peer.test 812s TAP version 14 812s # random seed: R02S9012b19b977a35662c40da75e368add3 812s 1..12 812s # Start of gdbus tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/.dirs/runtime 812s # Testing with unix:dir address 812s # Testing with unix:tmpdir address 812s # Testing with unix:path address 812s ok 1 /gdbus/peer-to-peer 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/delayed-message-processing/.dirs/runtime 812s # Testing with unix:dir address 813s ok 2 /gdbus/delayed-message-processing 813s # slow test /gdbus/delayed-message-processing executed in 0.54 secs 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/nonce-tcp/.dirs/runtime 813s ok 3 /gdbus/nonce-tcp 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/tcp-anonymous/.dirs/runtime 813s ok 4 /gdbus/tcp-anonymous 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/credentials/.dirs/runtime 813s ok 5 /gdbus/credentials 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/codegen-peer-to-peer/.dirs/runtime 813s # Testing with unix:dir address 813s # Machine ID: bac8ad566e5745b9a2d0c41e8a775feb 813s # Executing: glib/gdbus-peer.test 814s ok 6 /gdbus/codegen-peer-to-peer 814s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 814s # Start of peer-to-peer tests 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/signals/.dirs/runtime 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 814s # Testing with unix:dir address 814s ok 7 /gdbus/peer-to-peer/signals 814s # Start of invalid tests 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 814s ok 8 /gdbus/peer-to-peer/invalid/server 814s # Start of conn tests 814s # Start of stream tests 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 814s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 814s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 814s # End of stream tests 814s # Start of addr tests 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 814s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 814s ok - glib/gdbus-peer.test 814s # Running test: glib/mount-operation.test 814s ok - glib/mount-operation.test 814s # Running test: glib/array-test.test 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0WZEK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 814s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 814s # End of addr tests 814s # End of conn tests 814s # End of invalid tests 814s # End of peer-to-peer tests 814s # End of gdbus tests 814s TAP version 14 814s # random seed: R02S291636d7939c5b1da286f45abe9f7958 814s 1..2 814s # Start of mount-operation tests 814s ok 1 /mount-operation/construction 814s ok 2 /mount-operation/properties 814s # End of mount-operation tests 814s TAP version 14 814s # random seed: R02S03a510921be0c5f32867ddf552b38e7e 814s 1..120 814s # Start of array tests 814s ok 1 /array/ref-count 814s ok 2 /array/steal 814s ok 3 /array/clear-func 814s ok 4 /array/binary-search 814s ok 5 /array/overflow-append-vals 814s ok 6 /array/overflow-set-size 814s # Start of new tests 814s ok 7 /array/new/zero-terminated 814s ok 8 /array/new/take 814s ok 9 /array/new/take-zero-terminated 814s # Start of take tests 814s ok 10 /array/new/take/empty 814s ok 11 /array/new/take/overflow 814s ok 12 /array/new/take/zero-size 814s # End of take tests 814s # Start of take-zero-terminated tests 814s ok 13 /array/new/take-zero-terminated/zero-size 814s ok 14 /array/new/take-zero-terminated/null 814s # End of take-zero-terminated tests 814s # End of new tests 814s # Start of copy tests 814s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 814s ok 15 /array/copy/sized 814s ok 16 /array/copy/zero-terminated 814s ok 17 /array/copy/non-zero-terminated-no-clear 814s ok 18 /array/copy/non-zero-terminated-clear 814s ok 19 /array/copy/zero-terminated-no-clear 814s ok 20 /array/copy/zero-terminated-clear 814s # End of copy tests 814s # Start of remove-range tests 814s ok 21 /array/remove-range/zero-terminated-null 814s ok 22 /array/remove-range/non-zero-terminated-no-clear 814s ok 23 /array/remove-range/non-zero-terminated-clear 814s ok 24 /array/remove-range/zero-terminated-no-clear 814s ok 25 /array/remove-range/zero-terminated-clear 814s # End of remove-range tests 814s # Start of set-size tests 814s ok 26 /array/set-size/zero-terminated-null 814s ok 27 /array/set-size/non-zero-terminated-no-clear 814s ok 28 /array/set-size/non-zero-terminated-clear 814s ok 29 /array/set-size/zero-terminated-no-clear 814s ok 30 /array/set-size/zero-terminated-clear 814s # Start of sized tests 814s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 814s ok 32 /array/set-size/sized/non-zero-terminated-clear 814s ok 33 /array/set-size/sized/zero-terminated-no-clear 814s ok 34 /array/set-size/sized/zero-terminated-clear 814s # End of sized tests 814s # End of set-size tests 814s # Start of append-val tests 814s ok 35 /array/append-val/non-zero-terminated-no-clear 814s ok 36 /array/append-val/non-zero-terminated-clear 814s ok 37 /array/append-val/zero-terminated-no-clear 814s ok 38 /array/append-val/zero-terminated-clear 814s # End of append-val tests 814s # Start of prepend-val tests 814s ok 39 /array/prepend-val/non-zero-terminated-no-clear 814s ok 40 /array/prepend-val/non-zero-terminated-clear 814s ok 41 /array/prepend-val/zero-terminated-no-clear 814s ok 42 /array/prepend-val/zero-terminated-clear 814s # End of prepend-val tests 814s # Start of prepend-vals tests 814s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 814s ok 44 /array/prepend-vals/non-zero-terminated-clear 814s ok 45 /array/prepend-vals/zero-terminated-no-clear 814s ok 46 /array/prepend-vals/zero-terminated-clear 814s # End of prepend-vals tests 814s # Start of insert-vals tests 814s ok 47 /array/insert-vals/non-zero-terminated-no-clear 814s ok 48 /array/insert-vals/non-zero-terminated-clear 814s ok 49 /array/insert-vals/zero-terminated-no-clear 814s ok 50 /array/insert-vals/zero-terminated-clear 814s # End of insert-vals tests 814s # Start of remove-index tests 814s ok 51 /array/remove-index/non-zero-terminated-no-clear 814s ok 52 /array/remove-index/non-zero-terminated-clear 814s ok 53 /array/remove-index/zero-terminated-no-clear 814s ok 54 /array/remove-index/zero-terminated-clear 814s # End of remove-index tests 814s # Start of remove-index-fast tests 814s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 814s ok 56 /array/remove-index-fast/non-zero-terminated-clear 814s ok 57 /array/remove-index-fast/zero-terminated-no-clear 814s ok 58 /array/remove-index-fast/zero-terminated-clear 814s # End of remove-index-fast tests 814s # Start of sort tests 814s ok 59 /array/sort/non-zero-terminated-no-clear 814s ok 60 /array/sort/non-zero-terminated-clear 814s ok 61 /array/sort/zero-terminated-no-clear 814s ok 62 /array/sort/zero-terminated-clear 814s # End of sort tests 814s # Start of sort-with-data tests 814s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 814s ok 64 /array/sort-with-data/non-zero-terminated-clear 814s ok 65 /array/sort-with-data/zero-terminated-no-clear 814s ok 66 /array/sort-with-data/zero-terminated-clear 814s # End of sort-with-data tests 814s # End of array tests 814s # Start of pointerarray tests 814s ok 67 /pointerarray/add 814s ok 68 /pointerarray/insert 814s ok 69 /pointerarray/new-take 814s ok 70 /pointerarray/new-take-null-terminated 814s ok 71 /pointerarray/new-from-array 814s ok 72 /pointerarray/new-from-null-terminated-array 814s ok 73 /pointerarray/free-func 814s ok 74 /pointerarray/array_extend_and_steal 814s ok 75 /pointerarray/sort 814s ok 76 /pointerarray/sort-with-data 814s ok 77 /pointerarray/sort-values 814s ok 78 /pointerarray/sort-values-with-data 814s ok 79 /pointerarray/remove-range 814s ok 80 /pointerarray/steal 814s # Start of free tests 814s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 814s ok 81 /pointerarray/free/null-terminated 814s # End of free tests 814s # Start of new-take tests 814s ok 82 /pointerarray/new-take/empty 814s ok 83 /pointerarray/new-take/overflow 814s ok 84 /pointerarray/new-take/with-free-func 814s # End of new-take tests 814s # Start of new-take-null-terminated tests 814s ok 85 /pointerarray/new-take-null-terminated/empty 814s ok 86 /pointerarray/new-take-null-terminated/with-free-func 814s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 814s # End of new-take-null-terminated tests 814s # Start of new-from-array tests 814s ok 88 /pointerarray/new-from-array/empty 814s ok 89 /pointerarray/new-from-array/overflow 814s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 814s # End of new-from-array tests 814s # Start of new-from-null-terminated-array tests 814s ok 91 /pointerarray/new-from-null-terminated-array/empty 814s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 814s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 814s # End of new-from-null-terminated-array tests 814s # Start of ref-count tests 814s ok 94 /pointerarray/ref-count/not-null-terminated 814s ok 95 /pointerarray/ref-count/null-terminated 814s # End of ref-count tests 814s # Start of array_copy tests 814s # /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 814s ok 96 /pointerarray/array_copy/not-null-terminated 814s # /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 814s ok 97 /pointerarray/array_copy/null-terminated 814s # End of array_copy tests 814s # Start of array_extend tests 814s ok 98 /pointerarray/array_extend/not-null-terminated 814s ok 99 /pointerarray/array_extend/null-terminated 814s # End of array_extend tests 814s # Start of sort tests 814s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 814s ok 100 /pointerarray/sort/example 814s # End of sort tests 814s # Start of sort-with-data tests 814s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 814s ok 101 /pointerarray/sort-with-data/example 814s # End of sort-with-data tests 814s # Start of sort-values tests 814s ok 102 /pointerarray/sort-values/example 814s # End of sort-values tests 814s # Start of sort-values-with-data tests 814s ok 103 /pointerarray/sort-values-with-data/example 814s # End of sort-values-with-data tests 814s # Start of find tests 814s ok 104 /pointerarray/find/empty 814s ok 105 /pointerarray/find/non-empty 814s # End of find tests 814s # Start of steal_index tests 814s ok 106 /pointerarray/steal_index/not-null-terminated 814s ok 107 /pointerarray/steal_index/null-terminated 814s # End of steal_index tests 814s # End of pointerarray tests 814s # Start of bytearray tests 814s ok 108 /bytearray/steal 814s ok 109 /bytearray/append 814s ok - glib/array-test.test 814s ok 110 /bytearray/prepend 814s ok 111 /bytearray/remove 814s ok 112 /bytearray/remove-fast 814s ok 113 /bytearray/remove-range 814s ok 114 /bytearray/ref-count 814s ok 115 /bytearray/set-size 814s ok 116 /bytearray/sort 814s ok 117 /bytearray/sort-with-data 814s ok 118 /bytearray/new-take 814s ok 119 /bytearray/new-take-overflow 814s ok 120 /bytearray/free-to-bytes 814s # End of bytearray tests 814s # Running test: glib/autoptr.test 814s TAP version 14 814s # random seed: R02Sa8b80bac8c8631943b83b546395b74ef 814s 1..6 814s # Start of autoptr tests 814s ok 1 /autoptr/autoptr 814s ok 2 /autoptr/autoptr_steal 814s ok 3 /autoptr/autolist 814s ok 4 /autoptr/autoslist 814s ok 5 /autoptr/autoqueue 814s ok 6 /autoptr/autoclass 814s # End of autoptr tests 814s ok - glib/autoptr.test 814s # Running test: glib/queue.test 814s TAP version 14 814s # random seed: R02S6ba0ebcd71ca9ee45b107481fc03de20 814s 1..12 814s # Start of queue tests 814s ok 1 /queue/basic 814s ok 2 /queue/copy 814s ok 3 /queue/off-by-one 814s ok 4 /queue/find-custom 814s ok 5 /queue/static 814s ok 6 /queue/clear 814s ok 7 /queue/free-full 814s ok 8 /queue/clear-full 814s ok 9 /queue/insert-sibling-link 814s ok 10 /queue/push-nth-link 814s # Start of clear-full tests 814s ok 11 /queue/clear-full/noop 814s # End of clear-full tests 814s # Start of random tests 814s ok 12 /queue/random/seed:2076354172 814s # End of random tests 814s # End of queue tests 814s ok - glib/queue.test 814s # Running test: glib/shell.test 814s TAP version 14 814s # random seed: R02S730ca796c0331677b1b79b0294eefc3f 814s 1..52 814s # Start of shell tests 814s # Start of cmdline tests 814s test cmdline: foo bar 814s ok 1 /shell/cmdline/0 814s test cmdline: foo 'bar' 814s ok 2 /shell/cmdline/1 814s test cmdline: foo "bar" 814s ok 3 /shell/cmdline/2 814s test cmdline: foo '' 'bar' 814s ok 4 /shell/cmdline/3 814s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 814s ok 5 /shell/cmdline/4 814s test cmdline: foo blah foo bar baz 814s ok 6 /shell/cmdline/5 814s test cmdline: foo ' spaces more spaces lots of spaces in this ' 814s ok 7 /shell/cmdline/6 814s test cmdline: foo \ 814s bar 814s ok 8 /shell/cmdline/7 814s test cmdline: foo '' '' 814s ok 9 /shell/cmdline/8 814s test cmdline: foo \" la la la 814s ok 10 /shell/cmdline/9 814s test cmdline: foo \ foo woo woo\ 814s ok 11 /shell/cmdline/10 814s test cmdline: foo "yada yada \$\"" 814s ok 12 /shell/cmdline/11 814s test cmdline: foo "c:\\" 814s ok 13 /shell/cmdline/12 814s test cmdline: foo # bla bla bla 814s bar 814s ok 14 /shell/cmdline/13 814s test cmdline: foo a#b 814s ok 15 /shell/cmdline/14 814s test cmdline: #foo 814s ok 16 /shell/cmdline/15 814s test cmdline: foo bar \ 814s ok 17 /shell/cmdline/16 814s test cmdline: foo 'bar baz 814s ok 18 /shell/cmdline/17 814s test cmdline: foo '"bar" baz 814s ok 19 /shell/cmdline/18 814s test cmdline: 814s ok 20 /shell/cmdline/19 814s test cmdline: 814s ok 21 /shell/cmdline/20 814s test cmdline: # foo bar 814s ok 22 /shell/cmdline/21 814s test cmdline: # 814s ok 23 /shell/cmdline/22 814s test cmdline: foo '/bar/summer'\''09 tours.pdf' 814s ok 24 /shell/cmdline/23 814s # End of cmdline tests 814s ok - glib/shell.test 814s # Start of quote tests 814s ok 25 /shell/quote/0 814s ok 26 /shell/quote/1 814s ok 27 /shell/quote/2 814s ok 28 /shell/quote/3 814s ok 29 /shell/quote/4 814s ok 30 /shell/quote/5 814s ok 31 /shell/quote/6 814s # End of quote tests 814s # Start of unquote tests 814s ok 32 /shell/unquote/0 814s ok 33 /shell/unquote/1 814s ok 34 /shell/unquote/2 814s ok 35 /shell/unquote/3 814s ok 36 /shell/unquote/4 814s ok 37 /shell/unquote/5 814s ok 38 /shell/unquote/6 814s ok 39 /shell/unquote/7 814s ok 40 /shell/unquote/8 814s ok 41 /shell/unquote/9 814s ok 42 /shell/unquote/10 814s ok 43 /shell/unquote/11 814s ok 44 /shell/unquote/12 814s ok 45 /shell/unquote/13 814s ok 46 /shell/unquote/14 814s ok 47 /shell/unquote/15 814s ok 48 /shell/unquote/16 814s ok 49 /shell/unquote/17 814s ok 50 /shell/unquote/18 814s ok 51 /shell/unquote/19 814s ok 52 /shell/unquote/20 814s # End of unquote tests 814s # End of shell tests 814s # Running test: glib/function-info.test 814s TAP version 14 814s # random seed: R02S40d9ff3700155300ee1dd67325624a93 814s 1..1 814s # Start of function-info tests 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_MPBDK3/function-info/invoker/.dirs/runtime 814s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 814s # /function-info/invoker summary: Test preparing a function invoker 814s ok 1 /function-info/invoker 814s # End of function-info tests 814s ok - glib/function-info.test 814s # Running test: glib/bytes.test 814s TAP version 14 814s # random seed: R02S954c3c68740e195af4c0fdd81dcc4411 814s 1..21 814s # Start of bytes tests 814s ok - glib/bytes.test 814s ok 1 /bytes/new 814s ok 2 /bytes/new-take 814s ok 3 /bytes/new-static 814s ok 4 /bytes/new-with-free-func 814s ok 5 /bytes/new-from-bytes 814s ok 6 /bytes/new-from-bytes-slice 814s ok 7 /bytes/new-from-bytes-shared-ref 814s ok 8 /bytes/hash 814s ok 9 /bytes/equal 814s ok 10 /bytes/compare 814s ok 11 /bytes/null 814s ok 12 /bytes/get-region 814s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 814s ok 13 /bytes/unref-null 814s # Start of to-data tests 814s ok 14 /bytes/to-data/transferred 814s ok 15 /bytes/to-data/two-refs 814s ok 16 /bytes/to-data/non-malloc 814s ok 17 /bytes/to-data/different-free-func 814s # End of to-data tests 814s # Start of to-array tests 814s ok 18 /bytes/to-array/transferred 814s ok 19 /bytes/to-array/two-refs 814s ok 20 /bytes/to-array/non-malloc 814s # Start of transferred tests 814s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 814s ok 21 /bytes/to-array/transferred/oversize 814s # End of transferred tests 814s # End of to-array tests 814s # End of bytes tests 814s # Running test: glib/logging.test 814s TAP version 14 814s # random seed: R02Sa2e85004a78f89b470972da637c4da75 814s 1..20 814s # Start of logging tests 814s ok 1 /logging/default-handler 814s ok 2 /logging/journald-handler 814s ok 3 /logging/warnings 814s ok 4 /logging/fatal-log-mask 814s ok 5 /logging/always-fatal 814s # bu-DEBUG: message 814s # ba-DEBUG: message 814s # ba-INFO: message 814s ok 6 /logging/set-handler 814s ok 7 /logging/print-handler 814s ok 8 /logging/printerr-handler 814s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 814s # The Log Message Handler 814s # 814s # The Good Fail Message Handler 814s # 814s ok 9 /logging/653052 814s ok 10 /logging/gibberish 814s # Start of default-handler tests 814s # Start of subprocess tests 814s # End of subprocess tests 814s # End of default-handler tests 814s # End of logging tests 814s # Start of structured-logging tests 814s ok 11 /structured-logging/no-state 814s ok 12 /structured-logging/some-state 814s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 814s ok 13 /structured-logging/recursion-overflow 814s ok 14 /structured-logging/robustness 814s ok 15 /structured-logging/roundtrip1 814s ok 16 /structured-logging/roundtrip2 814s ok 17 /structured-logging/roundtrip3 814s ok 18 /structured-logging/variant1 814s ok 19 /structured-logging/variant2 814s ok 20 /structured-logging/set-writer-func-twice 814s # End of structured-logging tests 814s ok - glib/logging.test 814s # Running test: glib/gdbus-connection.test 814s TAP version 14 814s # random seed: R02Se7f316b0e66cb3967e29f54f0880908f 814s 1..9 814s # Start of gdbus tests 814s # Start of connection tests 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/bus-failure/.dirs/runtime 814s ok 1 /gdbus/connection/bus-failure 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/basic/.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-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 2 /gdbus/connection/basic 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/life-cycle/.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-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 3 /gdbus/connection/life-cycle 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/send/.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-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 4 /gdbus/connection/send 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signals/.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-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 5 /gdbus/connection/signals 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/signal-match-rules/.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-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 6 /gdbus/connection/signal-match-rules 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/filter/.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-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 7 /gdbus/connection/filter 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/serials/.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-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 8 /gdbus/connection/serials 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_EGR6J3/gdbus/connection/cancel/.dirs/runtime 814s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 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-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 9 /gdbus/connection/cancel 814s # End of connection tests 814s # End of gdbus tests 814s ok - glib/gdbus-connection.test 814s # Running test: glib/portal-support-env-var.test 814s TAP version 14 814s # random seed: R02S3e63fd242d55cd3416d6e38751619088 814s 1..1 814s # Start of portal-support tests 814s ok 1 /portal-support/env-var 814s # End of portal-support tests 814s ok - glib/portal-support-env-var.test 814s # Running test: glib/reference.test 814s TAP version 14 814s # random seed: R02S391823644a7c598589deb3755e71c8a4 814s 1..29 814s # Start of type tests 814s ok 1 /type/fundamentals 814s ok 2 /type/qdata 814s ok 3 /type/query 814s ok 4 /type/class-private 814s # End of type tests 814s # Start of object tests 814s ok 5 /object/clear 814s ok 6 /object/clear-function 814s ok 7 /object/set 814s ok 8 /object/set-function 814s ok 9 /object/value 814s ok 10 /object/initially-unowned 814s ok 11 /object/weak-pointer 814s ok 12 /object/weak-ref 814s ok 13 /object/toggle-ref 814s ok 14 /object/qdata 814s ok 15 /object/qdata2 814s # Start of set tests 814s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 814s ok 16 /object/set/derived-type 814s # End of set tests 814s # Start of weak-pointer tests 814s ok 17 /object/weak-pointer/clear 814s ok 18 /object/weak-pointer/clear-function 814s ok 19 /object/weak-pointer/set 814s ok 20 /object/weak-pointer/set-function 814s # End of weak-pointer tests 814s # Start of weak-ref tests 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 814s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 814s ok 21 /object/weak-ref/on-dispose 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 814s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 814s ok 22 /object/weak-ref/on-run-dispose 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 814s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 814s ok 23 /object/weak-ref/on-toggle-notify 814s ok 24 /object/weak-ref/in-toggle-notify 814s ok 25 /object/weak-ref/many 814s # Start of concurrent tests 815s ok 26 /object/weak-ref/concurrent/0 815s ok 27 /object/weak-ref/concurrent/1 815s # End of concurrent tests 815s # End of weak-ref tests 815s # Start of toggle-ref tests 815s ok 28 /object/toggle-ref/ref-on-dispose 815s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 815s # End of toggle-ref tests 815s # End of object tests 815s ok - glib/reference.test 815s # Running test: glib/glistmodel.test 815s TAP version 14 815s # random seed: R02Sc6565582ab67ca27ad1beee695b8a759 815s 1..18 815s # Start of glistmodel tests 815s # Start of store tests 815s ok 1 /glistmodel/store/properties 815s ok 2 /glistmodel/store/non-gobjects 815s ok 3 /glistmodel/store/boundaries 815s ok 4 /glistmodel/store/refcounts 815s ok - glib/glistmodel.test 815s ok 5 /glistmodel/store/sorted 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 815s ok 6 /glistmodel/store/splice-replace-middle 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 815s ok 7 /glistmodel/store/splice-replace-all 815s ok 8 /glistmodel/store/splice-noop 815s ok 9 /glistmodel/store/splice-remove-multiple 815s ok 10 /glistmodel/store/splice-add-multiple 815s ok 11 /glistmodel/store/splice-wrong-type 815s ok 12 /glistmodel/store/item-type 815s ok 13 /glistmodel/store/remove-all 815s ok 14 /glistmodel/store/sort 815s ok 15 /glistmodel/store/get-item-cache 815s ok 16 /glistmodel/store/items-changed 815s ok 17 /glistmodel/store/past-end 815s ok 18 /glistmodel/store/find 815s # End of store tests 815s # End of glistmodel tests 815s # Running test: glib/resources.test 815s TAP version 14 815s # random seed: R02S628113748e5a6694ccbcab2cf9657b1e 815s 1..19 815s # Start of resource tests 815s ok 1 /resource/file 815s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 815s ok 2 /resource/file-path 815s ok 3 /resource/data 815s ok 4 /resource/data_unaligned 815s ok 5 /resource/data-corrupt 815s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 815s ok 6 /resource/data-corrupt-compression 815s ok 7 /resource/data-empty 815s ok 8 /resource/registered 815s ok 9 /resource/manual 815s ok 10 /resource/manual2 815s ok 11 /resource/automatic 815s ok 12 /resource/module 815s ok 13 /resource/binary-linked 815s ok 14 /resource/64k 815s GLib-GIO-Message: 11:28:14.489: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 815s GLib-GIO-Message: 11:28:14.489: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 815s GLib-GIO-Message: 11:28:14.489: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 815s ok - glib/resources.test 815s ok 15 /resource/overlay 815s ok 16 /resource/digits 815s ok 17 /resource/has-children 815s # Start of uri tests 815s ok 18 /resource/uri/query-info 815s ok 19 /resource/uri/file 815s # End of uri tests 815s # End of resource tests 815s # Running test: glib/refstring.test 815s TAP version 14 815s # random seed: R02S4d033245ec839d1ed3149eec7a513787 815s 1..8 815s # Start of refstring tests 815s # s = 'hello, world' (0x1b41fc8a82c0) 815s ok 1 /refstring/base 815s ok 2 /refstring/length 815s ok 3 /refstring/length-auto 815s ok 4 /refstring/length-nuls 815s # s = 'hello, world' (0x1b41fc8a8160) 815s # p = s = 'hello, world' (0x1b41fc8a8160) 815s # releasing p[0x1b41fc8a8160] ('hello, world') 815s # p = 'goodbye, world' (0x1b41fc8a82c0) 815s # releasing p[0x1b41fc8a82c0] ('goodbye, world') 815s # releasing s[0x1b41fc8a8160] ('hello, world') 815s ok 5 /refstring/intern 815s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 815s ok 6 /refstring/hash_equal 815s # /refstring/equal summary: Test g_ref_string_equal() standalone 815s ok 7 /refstring/equal 816s ok 8 /refstring/intern-thread-safety 816s # slow test /refstring/intern-thread-safety executed in 1.67 secs 816s # End of refstring tests 816s ok - glib/refstring.test 816s # Running test: glib/memory-settings-backend.test 816s TAP version 14 816s # random seed: R02S5de97a4f3829df99e9abb4972b5405e7 816s 1..1 816s # Start of memory-settings-backend tests 816s ok 1 /memory-settings-backend/extension-point-registered 816s # End of memory-settings-backend tests 816s ok - glib/memory-settings-backend.test 816s # Running test: glib/readwrite.test 816s TAP version 14 816s # random seed: R02Sc074e9190c6c4e6a8aa48d74a24f218c 816s 1..3 816s # Start of readwrite tests 816s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 816s ok 1 /readwrite/test_g_file_open_readwrite 816s ok - glib/readwrite.test 816s # Running test: glib/network-monitor.test 816s ok 2 /readwrite/test_g_file_create_readwrite 816s ok 3 /readwrite/test_g_file_replace_readwrite 816s # End of readwrite tests 816s TAP version 14 816s # random seed: R02S572714172ac075a40ec139779471c8dd 816s 1..4 816s # Start of network-monitor tests 816s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 816s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 816s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 816s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 816s ok 1 /network-monitor/default 816s ok 2 /network-monitor/remove_default 816s ok 3 /network-monitor/add_networks 816s ok 4 /network-monitor/remove_networks 816s # End of network-monitor tests 816s ok - glib/network-monitor.test 816s # Running test: glib/macros-c-17.test 816s TAP version 14 816s # random seed: R02Se5f2ec2b65e36af3d48548c63c8d6c65 816s 1..4 816s # Start of C tests 816s ok 1 /C/standard-17 816s # End of C tests 816s # Start of alignof tests 816s ok 2 /alignof/fallback 816s # End of alignof tests 816s # Start of assert tests 816s ok 3 /assert/static 816s # End of assert tests 816s # Start of struct tests 816s ok 4 /struct/sizeof_member 816s # End of struct tests 816s ok - glib/macros-c-17.test 816s # Running test: glib/sandbox.test 816s TAP version 14 816s # random seed: R02S56b61df384826f7538c601e6f506e2ea 816s 1..4 816s # Start of sandbox tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_VM68J3/sandbox/none/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_VM68J3/sandbox/none/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VM68J3/sandbox/none/.dirs/runtime 816s ok 1 /sandbox/none 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VM68J3/sandbox/snap/.dirs/runtime 816s # Created snap.yaml in /tmp/test_sandbox_VM68J3/snap/current/meta/snap.yaml 816s ok 2 /sandbox/snap 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VM68J3/sandbox/classic-snap/.dirs/runtime 816s # Created snap.yaml in /tmp/test_sandbox_VM68J3/snap/current/meta/snap.yaml 816s ok 3 /sandbox/classic-snap 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/runtime 816s # Creating .flatpak-info in /tmp/test_sandbox_VM68J3/sandbox/flatpak/.dirs/runtime/.flatpak-info 816s ok - glib/sandbox.test 816s # Running test: glib/credentials.test 816s ok 4 /sandbox/flatpak 816s # End of sandbox tests 816s TAP version 14 816s # random seed: R02S95469dc2c052f9dc99a7382a9f7b9592 816s 1..1 816s # Start of credentials tests 816s # GCredentials:linux-ucred:pid=37254,uid=1000,gid=1000 816s # GCredentials:linux-ucred:pid=37254,uid=0,gid=1000 816s ok 1 /credentials/basic 816s # End of credentials tests 816s ok - glib/credentials.test 816s # Running test: glib/timeout.test 816s TAP version 14 816s # random seed: R02S681014aa721b13b5a1277f0d35bddd01 816s 1..5 816s # Start of timeout tests 816s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 818s # Executing: glib/timeout.test 818s ok 1 /timeout/seconds 818s # slow test /timeout/seconds executed in 2.10 secs 821s ok 2 /timeout/seconds-once 821s # slow test /timeout/seconds-once executed in 2.10 secs 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 823s ok 3 /timeout/weeks-overflow 823s # slow test /timeout/weeks-overflow executed in 2.10 secs 823s ok 4 /timeout/far-future-ready-time 823s # Executing: glib/timeout.test 828s # Executing: glib/timeout.test 833s # Executing: glib/timeout.test 833s ok 5 /timeout/rounding 833s # slow test /timeout/rounding executed in 10.65 secs 833s # End of timeout tests 833s ok - glib/timeout.test 833s # Running test: glib/objects-refcount1.test 833s TAP version 14 833s # random seed: R02Sa4eae8c023501c9bc56eef775784e8e0 833s 1..1 833s # Start of gobject tests 833s # Start of refcount tests 833s # init 0x13f6c05cdd90 833s # 833s # init 0x13f6c05cdea0 833s # 838s # Executing: glib/objects-refcount1.test 838s # dispose 0x13f6c05cdd90! 838s # 838s # dispose 0x13f6c05cdea0! 838s # 838s ok 1 /gobject/refcount/object-basics 838s # slow test /gobject/refcount/object-basics executed in 5.01 secs 838s # End of refcount tests 838s # End of gobject tests 838s ok - glib/objects-refcount1.test 838s # Running test: glib/unix.test 838s TAP version 14 838s # random seed: R02Secc74c5a7e425f4451212efc46fb00c5 838s 1..20 838s # Start of glib-unix tests 838s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 838s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 838s ok 1 /glib-unix/closefrom 838s ok 2 /glib-unix/pipe 838s # /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 838s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 838s ok 3 /glib-unix/pipe-stdio-overwrite 838s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 838s ok 4 /glib-unix/pipe-struct 838s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 838s ok 5 /glib-unix/pipe-struct-auto 838s ok 6 /glib-unix/error 838s ok 7 /glib-unix/nonblocking 839s ok 8 /glib-unix/sighup 839s # slow test /glib-unix/sighup executed in 0.50 secs 839s ok 9 /glib-unix/sigterm 839s # slow test /glib-unix/sigterm executed in 0.50 secs 840s ok 10 /glib-unix/sighup_again 840s # slow test /glib-unix/sighup_again executed in 0.50 secs 840s ok 11 /glib-unix/sighup_add_remove 840s ok 12 /glib-unix/sighup_nested 842s ok 13 /glib-unix/callback_after_signal 842s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 842s ok 14 /glib-unix/child-wait 842s # Start of closefrom tests 842s # Start of subprocess tests 842s # End of subprocess tests 842s # End of closefrom tests 842s # Start of pipe tests 842s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 842s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 842s ok 15 /glib-unix/pipe/fd-cloexec 842s # End of pipe tests 842s # Start of sighup tests 843s ok 16 /glib-unix/sighup/alternate-stack 843s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 843s # End of sighup tests 843s # Start of sigterm tests 843s # Executing: glib/unix.test 844s ok 17 /glib-unix/sigterm/alternate-stack 844s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 844s # End of sigterm tests 844s # Start of sighup_again tests 845s ok 18 /glib-unix/sighup_again/alternate-stack 845s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 845s # End of sighup_again tests 845s # Start of get-passwd-entry tests 845s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 845s ok 19 /glib-unix/get-passwd-entry/root 845s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 845s ok 20 /glib-unix/get-passwd-entry/nonexistent 845s # End of get-passwd-entry tests 845s # End of glib-unix tests 845s ok - glib/unix.test 845s # Running test: glib/gdbus-close-pending.test 845s TAP version 14 845s # random seed: R02S2abce57ddf2323b450c88f617b59a8be 845s 1..2 845s # Start of gdbus tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/close-pending/.dirs/runtime 846s ok 1 /gdbus/close-pending 846s # slow test /gdbus/close-pending executed in 0.58 secs 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_1SXHK3/gdbus/unref-pending/.dirs/runtime 846s ok 2 /gdbus/unref-pending 846s # End of gdbus tests 846s ok - glib/gdbus-close-pending.test 846s # Running test: glib/testing.test 846s TAP version 14 846s # random seed: R02Sef60388fcdd61698d8256fb2e4ff65e5 846s 1..1 846s # Start of assert tests 846s ok - glib/testing.test 846s ok 1 /assert/finalize_object 846s # Start of finalize_object tests 846s # Start of subprocess tests 846s # End of subprocess tests 846s # End of finalize_object tests 846s # End of assert tests 846s # Running test: glib/atomic.test 846s TAP version 14 846s # random seed: R02Sb226f7d0d957108f3ffc8368bee35ef9 846s 1..2 846s # Start of atomic tests 846s ok 1 /atomic/types 846s ok 2 /atomic/threaded 846s # End of atomic tests 846s ok - glib/atomic.test 846s # Running test: glib/memory-output-stream.test 846s TAP version 14 846s # random seed: R02Se92f54d403e8bc4fbf157b81a6f6d6a3 846s 1..10 846s # Start of memory-output-stream tests 846s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 846s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 846s ok 1 /memory-output-stream/truncate 846s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 846s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 846s ok 2 /memory-output-stream/get-data-size 846s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 846s ok 3 /memory-output-stream/properties 846s ok 4 /memory-output-stream/write-bytes 846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 846s ok 5 /memory-output-stream/write-null 846s ok 6 /memory-output-stream/writev 846s ok 7 /memory-output-stream/writev_nonblocking 846s ok 8 /memory-output-stream/steal_as_bytes 846s # Start of seek tests 846s ok 9 /memory-output-stream/seek/fixed 846s ok 10 /memory-output-stream/seek/resizable 846s # End of seek tests 846s # End of memory-output-stream tests 846s ok - glib/memory-output-stream.test 846s # Running test: glib/contexts.test 846s TAP version 14 846s # random seed: R02Sd0a5fcd0bc3e58668e2c0d1a9e994fb4 846s 1..5 846s # Start of gio tests 846s # Start of contexts tests 846s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 846s ok 1 /gio/contexts/thread-independence 846s ok 2 /gio/contexts/context-independence 846s # Start of context-specific tests 846s ok 3 /gio/contexts/context-specific/identity 846s ok 4 /gio/contexts/context-specific/emit 846s ok 5 /gio/contexts/context-specific/emit-and-unref 846s # End of context-specific tests 846s # End of contexts tests 846s # End of gio tests 846s ok - glib/contexts.test 846s # Running test: glib/gdbus-connection-loss.test 846s TAP version 14 846s # random seed: R02S939d704acb2414cf3341095a1f8ab551 846s 1..1 846s # Start of gdbus tests 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_H9E5J3/gdbus/connection-loss/.dirs/runtime 847s ok 1 /gdbus/connection-loss 847s # End of gdbus tests 847s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 847s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 847s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 847s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 847s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 847s ok - glib/gdbus-connection-loss.test 847s # Running test: glib/file-thumbnail.test 847s TAP version 14 847s # random seed: R02Sce20d78a2340cfa45d75ae57b11713fd 847s 1..7 847s # Start of file-thumbnail tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/runtime 847s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 847s ok 1 /file-thumbnail/fail 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/runtime 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 847s ok 2 /file-thumbnail/size-priority 847s # Start of valid tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/runtime 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 847s ok 3 /file-thumbnail/valid/normal 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/runtime 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 847s ok 4 /file-thumbnail/valid/large 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/runtime 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 847s ok 5 /file-thumbnail/valid/x-large 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/runtime 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 847s ok - glib/file-thumbnail.test 847s # Running test: glib/socket-service.test 847s ok - glib/socket-service.test 847s # Running test: glib/cancellable.test 847s ok 6 /file-thumbnail/valid/xx-large 847s # End of valid tests 847s # Start of unknown tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/runtime 847s # Created test thumbnail at /tmp/test_file-thumbnail_HLUOK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 847s ok 7 /file-thumbnail/unknown/super-large 847s # End of unknown tests 847s # End of file-thumbnail tests 847s TAP version 14 847s # random seed: R02S8203192f7e5428e3e4cbea1fd6f531af 847s 1..4 847s # Start of socket-service tests 847s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 847s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19fee6c38240 and GSocketClientAsyncConnectData 0x19fee6c32f00 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s ok 1 /socket-service/start-stop 847s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19fee6c3c2d0 and GSocketClientAsyncConnectData 0x19fee6c3bf30 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 847s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19fee6c3c250 for GSocketClientAsyncConnectData 0x19fee6c32f00 847s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 847s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 847s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 847s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 847s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 847s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19fee6c3c250 for GSocketClientAsyncConnectData 0x19fee6c3bf30 847s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 847s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 847s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 847s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 847s ok 2 /socket-service/read_write_async 847s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19fee6c3c2d0 and GSocketClientAsyncConnectData 0x19fee6c3f9b0 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 847s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19fee6c3ee10 for GSocketClientAsyncConnectData 0x19fee6c3f9b0 847s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 847s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 847s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 847s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 847s ok 3 /socket-service/read_writev_async 847s # Start of threaded tests 847s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 847s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19fee6c30a70 and GSocketClientAsyncConnectData 0x19fee6c3bf30 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 847s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19fee6c3fb70 for GSocketClientAsyncConnectData 0x19fee6c3bf30 847s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 847s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 847s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 847s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 847s ok 4 /socket-service/threaded/712570 847s # End of threaded tests 847s # End of socket-service tests 847s TAP version 14 847s # random seed: R02S789417424bae0272ac39eeb912bc6ee2 847s 1..18 847s # Start of cancellable tests 847s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 847s ok 2 /cancellable/null 847s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 847s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 847s ok 4 /cancellable/connect-to-disposing-callback 847s ok 5 /cancellable/connect-cancelled-data-is-destroyed 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 1 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 0 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 1 847s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 847s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 847s ok 7 /cancellable/connect-cancelled-to-disposing-callback 847s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 1 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 0 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 1 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 0 847s # Toggle reference callback for GCancellable (0x9513317ec00), last: 1 847s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 847s # /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 847s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 847s # /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 847s ok 11 /cancellable/resets-on-cancel-callback-hangs 847s ok 12 /cancellable/poll-fd 847s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 847s ok 13 /cancellable/poll-fd-cancelled 847s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 847s ok 14 /cancellable/poll-fd-cancelled-threaded 847s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 847s ok 15 /cancellable/cancel-reset-races 847s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 847s ok 16 /cancellable/cancel-reset-connect-races 847s # End of cancellable tests 847s # Start of cancellable-source tests 847s # /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) 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 848s ok - glib/cancellable.test 848s # Running test: glib/list.test 848s ok - glib/list.test 848s ok 17 /cancellable-source/threaded-dispose 848s # slow test /cancellable-source/threaded-dispose executed in 0.80 secs 848s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 848s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 848s ok 18 /cancellable-source/can-be-fired-multiple-times 848s # End of cancellable-source tests 848s TAP version 14 848s # random seed: R02Sc12e4a281a8c404a450377f959acdb5b 848s 1..20 848s # Start of list tests 848s ok 1 /list/sort 848s ok 2 /list/sort-with-data 848s ok 3 /list/insert-before-link 848s ok 4 /list/insert-sorted 848s ok 5 /list/insert-sorted-with-data 848s ok 6 /list/reverse 848s ok 7 /list/nth 848s ok 8 /list/concat 848s ok 9 /list/remove 848s ok 10 /list/remove-all 848s ok 11 /list/first-last 848s ok 12 /list/insert 848s ok 13 /list/free-full 848s ok 14 /list/copy 848s ok 15 /list/copy-deep 848s ok 16 /list/delete-link 848s ok 17 /list/prepend 848s ok 18 /list/position 848s ok 19 /list/double-free 848s # Start of sort tests 848s ok 20 /list/sort/stable 848s # End of sort tests 848s # End of list tests 848s TAP version 14 848s # random seed: R02Sbe1494f30c9ddf26c5f4861f3adf1b55 848s 1..4 848s # Start of dump tests 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_5D6LK3/dump/empty-file/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_5D6LK3/dump/empty-file/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_5D6LK3/dump/empty-file/.dirs/runtime 848s ok 1 /dump/empty-file 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_5D6LK3/dump/missing-get-type/.dirs/runtime 848s Invalid GType function: 'does_not_exist_get_type' 848s ok 2 /dump/missing-get-type 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_5D6LK3/dump/missing-quark/.dirs/runtime 848s Invalid error quark function: 'does_not_exist_error' 848s ok 3 /dump/missing-quark 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_5D6LK3/dump/basic/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_5D6LK3/dump/basic/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_5D6LK3/dump/basic/.dirs/system-config1:/tmp/test_dump_5D6LK3/dump/basic/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_5D6LK3/dump/basic/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_5D6LK3/dump/basic/.dirs/system-data1:/tmp/test_dump_5D6LK3/dump/basic/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_5D6LK3/dump/basic/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_5D6LK3/dump/basic/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_5D6LK3/dump/basic/.dirs/runtime 848s ok 4 /dump/basic 848s # End of dump tests 848s TAP version 14 848s # random seed: R02Sff4f9a36e989e187f66a348c273deea4 848s 1..39 848s # Start of unicode tests 848s ok 1 /unicode/alnum 848s ok 2 /unicode/alpha 848s ok 3 /unicode/break-type 848s ok 4 /unicode/canonical-decomposition 848s ok 5 /unicode/casefold 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s # Cannot set locale to lt_LT, skipping 848s ok 6 /unicode/casemap_and_casefold 848s ok 7 /unicode/cases 848s ok 8 /unicode/character-type 848s ok 9 /unicode/cntrl 848s ok 10 /unicode/combining-class 848s # Composing U+000041 and U+000042; expecting U+000000 848s # Composing U+000041 and U+000000; expecting U+000000 848s # Composing U+000066 and U+000069; expecting U+000000 848s # Composing U+000308 and U+000301; expecting U+000000 848s # Composing U+000f71 and U+000f72; expecting U+000000 848s # Composing U+00212b and U+000000; expecting U+000000 848s # Composing U+0000c5 and U+000000; expecting U+000000 848s # Composing U+002126 and U+000000; expecting U+000000 848s # Composing U+0003a9 and U+000000; expecting U+000000 848s # Composing U+000041 and U+00030a; expecting U+0000c5 848s # Composing U+00006f and U+000302; expecting U+0000f4 848s # Composing U+001e63 and U+000307; expecting U+001e69 848s # Composing U+000073 and U+000323; expecting U+001e63 848s # Composing U+000064 and U+000307; expecting U+001e0b 848s # Composing U+000064 and U+000323; expecting U+001e0d 848s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 848s # Composing U+001111 and U+001171; expecting U+00d4cc 848s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 848s # Composing U+00110e and U+001173; expecting U+00ce20 848s # Composing U+001100 and U+001160; expecting U+000000 848s # Composing U+001100 and U+001177; expecting U+000000 848s # Composing U+00abff and U+0011b6; expecting U+000000 848s # Composing U+00d7a5 and U+0011b6; expecting U+000000 848s # Composing U+00ac01 and U+0011b6; expecting U+000000 848s # Composing U+00d4cc and U+0011a6; expecting U+000000 848s # Composing U+00d4cc and U+0011c4; expecting U+000000 848s # Composing U+01611e and U+01611e; expecting U+016121 848s # Composing U+01611e and U+01611f; expecting U+016123 848s # Composing U+0000f6 and U+000304; expecting U+00022b 848s # Composing U+000b47 and U+000b57; expecting U+000b4c 848s # Composing U+0000a0 and U+000b57; expecting U+000000 848s # Composing U+016e00 and U+00030a; expecting U+000000 848s # Composing U+00212b and U+016e00; expecting U+000000 848s # Composing U+001e63 and U+000306; expecting U+000000 848s # Composing U+001e63 and U+000304; expecting U+000000 848s # Composing U+001e63 and U+000b57; expecting U+000000 848s # Composing U+001e63 and U+000000; expecting U+000000 848s # Composing U+001e63 and U+0113c2; expecting U+000000 848s # Composing U+001f01 and U+0113c2; expecting U+000000 848s # Composing U+00006e and U+000302; expecting U+000000 848s # Composing U+001e63 and U+01611f; expecting U+000000 848s # Composing U+01138e and U+0113b8; expecting U+000000 848s # Composing U+01611e and U+000000; expecting U+000000 848s # Composing U+000000 and U+01611f; expecting U+000000 848s # Composing U+011390 and U+0113c2; expecting U+000000 848s ok 11 /unicode/compose 848s ok 12 /unicode/decompose 848s ok 13 /unicode/decompose-tail 848s ok 14 /unicode/defined 848s ok 15 /unicode/digit 848s ok 16 /unicode/digit-value 848s # Fully decomposing U+000041; expecting 1 codepoints 848s # Fully decomposing U+00fb01; expecting 1 codepoints 848s # Fully decomposing U+00212b; expecting 2 codepoints 848s # Fully decomposing U+002126; expecting 1 codepoints 848s # Fully decomposing U+000344; expecting 2 codepoints 848s # Fully decomposing U+000f73; expecting 2 codepoints 848s # Fully decomposing U+0000c5; expecting 2 codepoints 848s # Fully decomposing U+0000f4; expecting 2 codepoints 848s # Fully decomposing U+001e69; expecting 3 codepoints 848s # Fully decomposing U+001e63; expecting 2 codepoints 848s # Fully decomposing U+001e0b; expecting 2 codepoints 848s # Fully decomposing U+001e0d; expecting 2 codepoints 848s # Fully decomposing U+00d4db; expecting 3 codepoints 848s # Fully decomposing U+00d4cc; expecting 2 codepoints 848s # Fully decomposing U+00ce31; expecting 3 codepoints 848s # Fully decomposing U+00ce20; expecting 2 codepoints 848s ok 17 /unicode/fully-decompose-canonical 848s # Running test: glib/dump.test 848s ok - glib/dump.test 848s # Running test: glib/unicode.test 848s ok 18 /unicode/fully-decompose-len 848s ok 19 /unicode/normalization 848s ok 20 /unicode/graph 848s # Testing script Zyyy (code 1517910393) 848s # Testing script Zinh (code 1516858984) 848s # Testing script Zmth (code 1517122664) 848s # Testing script Arab (code 1098015074) 848s # Testing script Armn (code 1098018158) 848s # Testing script Beng (code 1113943655) 848s # Testing script Bopo (code 1114599535) 848s # Testing script Cher (code 1130915186) 848s # Testing script Copt (code 1131376756) 848s # Testing script Cyrl (code 1132032620) 848s # Testing script Dsrt (code 1148416628) 848s # Testing script Deva (code 1147500129) 848s # Testing script Ethi (code 1165256809) 848s # Testing script Geor (code 1197830002) 848s # Testing script Goth (code 1198486632) 848s # Testing script Grek (code 1198679403) 848s # Testing script Gujr (code 1198877298) 848s # Testing script Guru (code 1198879349) 848s # Testing script Hani (code 1214344809) 848s # Testing script Hang (code 1214344807) 848s # Testing script Hebr (code 1214603890) 848s # Testing script Hira (code 1214870113) 848s # Testing script Knda (code 1265525857) 848s # Testing script Kana (code 1264676449) 848s # Testing script Khmr (code 1265134962) 848s # Testing script Laoo (code 1281453935) 848s # Testing script Latn (code 1281455214) 848s # Testing script Mlym (code 1298954605) 848s # Testing script Mong (code 1299148391) 848s # Testing script Mymr (code 1299803506) 848s # Testing script Ogam (code 1332175213) 848s # Testing script Ital (code 1232363884) 848s # Testing script Orya (code 1332902241) 848s # Testing script Runr (code 1383427698) 848s # Testing script Sinh (code 1399418472) 848s # Testing script Syrc (code 1400468067) 848s # Testing script Taml (code 1415671148) 848s # Testing script Telu (code 1415933045) 848s # Testing script Thaa (code 1416126817) 848s # Testing script Thai (code 1416126825) 848s # Testing script Tibt (code 1416192628) 848s # Testing script Cans (code 1130458739) 848s # Testing script Yiii (code 1500080489) 848s # Testing script Tglg (code 1416064103) 848s # Testing script Hano (code 1214344815) 848s # Testing script Buhd (code 1114990692) 848s # Testing script Tagb (code 1415669602) 848s # Testing script Brai (code 1114792297) 848s # Testing script Cprt (code 1131442804) 848s # Testing script Limb (code 1281977698) 848s # Testing script Osma (code 1332964705) 848s # Testing script Shaw (code 1399349623) 848s # Testing script Linb (code 1281977954) 848s # Testing script Tale (code 1415670885) 848s # Testing script Ugar (code 1432838514) 848s # Testing script Talu (code 1415670901) 848s # Testing script Bugi (code 1114990441) 848s # Testing script Glag (code 1198285159) 848s # Testing script Tfng (code 1415999079) 848s # Testing script Sylo (code 1400466543) 848s # Testing script Xpeo (code 1483761007) 848s # Testing script Khar (code 1265131890) 848s # Testing script Zzzz (code 1517976186) 848s # Testing script Bali (code 1113681001) 848s # Testing script Xsux (code 1483961720) 848s # Testing script Phnx (code 1349021304) 848s # Testing script Phag (code 1349017959) 848s # Testing script Nkoo (code 1315663727) 848s # Testing script Kali (code 1264675945) 848s # Testing script Lepc (code 1281716323) 848s # Testing script Rjng (code 1382706791) 848s # Testing script Sund (code 1400204900) 848s # Testing script Saur (code 1398895986) 848s # Testing script Cham (code 1130914157) 848s # Testing script Olck (code 1332503403) 848s # Testing script Vaii (code 1449224553) 848s # Testing script Cari (code 1130459753) 848s # Testing script Lyci (code 1283023721) 848s # Testing script Lydi (code 1283023977) 848s # Testing script Avst (code 1098281844) 848s # Testing script Bamu (code 1113681269) 848s # Testing script Egyp (code 1164409200) 848s # Testing script Armi (code 1098018153) 848s # Testing script Phli (code 1349020777) 848s # Testing script Prti (code 1349678185) 848s # Testing script Java (code 1247901281) 848s # Testing script Kthi (code 1265920105) 848s # Testing script Lisu (code 1281979253) 848s # Testing script Mtei (code 1299473769) 848s # Testing script Sarb (code 1398895202) 848s # Testing script Orkh (code 1332898664) 848s # Testing script Samr (code 1398893938) 848s # Testing script Lana (code 1281453665) 848s # Testing script Tavt (code 1415673460) 848s # Testing script Batk (code 1113683051) 848s # Testing script Brah (code 1114792296) 848s # Testing script Mand (code 1298230884) 848s # Testing script Cakm (code 1130457965) 848s # Testing script Merc (code 1298494051) 848s # Testing script Mero (code 1298494063) 848s # Testing script Plrd (code 1349284452) 848s # Testing script Shrd (code 1399353956) 848s # Testing script Sora (code 1399812705) 848s # Testing script Takr (code 1415670642) 848s # Testing script Bass (code 1113682803) 848s # Testing script Aghb (code 1097295970) 848s # Testing script Dupl (code 1148547180) 848s # Testing script Elba (code 1164730977) 848s # Testing script Gran (code 1198678382) 848s # Testing script Khoj (code 1265135466) 848s # Testing script Sind (code 1399418468) 848s # Testing script Lina (code 1281977953) 848s # Testing script Mahj (code 1298229354) 848s # Testing script Mani (code 1298230889) 848s # Testing script Mend (code 1298493028) 848s # Testing script Modi (code 1299145833) 848s # Testing script Mroo (code 1299345263) 848s # Testing script Nbat (code 1315070324) 848s # Testing script Narb (code 1315009122) 848s # Testing script Perm (code 1348825709) 848s # Testing script Hmng (code 1215131239) 848s # Testing script Palm (code 1348562029) 848s # Testing script Pauc (code 1348564323) 848s # Testing script Phlp (code 1349020784) 848s # Testing script Sidd (code 1399415908) 848s ok - glib/unicode.test 848s # Running test: glib/signals.test 848s ok - glib/signals.test 848s # Running test: glib/portal-support-flatpak-gsettings-only.test 848s ok - glib/portal-support-flatpak-gsettings-only.test 848s # Running test: glib/unix-fd.test 848s ok - glib/unix-fd.test 848s # Running test: glib/date.test 848s # Testing script Tirh (code 1416196712) 848s # Testing script Wara (code 1466004065) 848s # Testing script Ahom (code 1097363309) 848s # Testing script Hluw (code 1215067511) 848s # Testing script Hatr (code 1214346354) 848s # Testing script Mult (code 1299541108) 848s # Testing script Hung (code 1215655527) 848s # Testing script Sgnw (code 1399287415) 848s # Testing script Adlm (code 1097100397) 848s # Testing script Bhks (code 1114139507) 848s # Testing script Marc (code 1298231907) 848s # Testing script Newa (code 1315272545) 848s # Testing script Osge (code 1332963173) 848s # Testing script Tang (code 1415671399) 848s # Testing script Gonm (code 1198485101) 848s # Testing script Nshu (code 1316186229) 848s # Testing script Soyo (code 1399814511) 848s # Testing script Zanb (code 1516334690) 848s # Testing script Dogr (code 1148151666) 848s # Testing script Gong (code 1198485095) 848s # Testing script Rohg (code 1383032935) 848s # Testing script Maka (code 1298230113) 848s # Testing script Medf (code 1298490470) 848s # Testing script Sogo (code 1399809903) 848s # Testing script Sogd (code 1399809892) 848s # Testing script Elym (code 1164736877) 848s # Testing script Nand (code 1315008100) 848s # Testing script Hmnp (code 1215131248) 848s # Testing script Wcho (code 1466132591) 848s # Testing script Chrs (code 1130918515) 848s # Testing script Diak (code 1147756907) 848s # Testing script Kits (code 1265202291) 848s # Testing script Yezi (code 1499822697) 848s # Testing script Cpmn (code 1131441518) 848s # Testing script Ougr (code 1333094258) 848s # Testing script Tnsa (code 1416524641) 848s # Testing script Toto (code 1416590447) 848s # Testing script Vith (code 1449751656) 848s # Testing script Kawi (code 1264678761) 848s # Testing script Nagm (code 1315006317) 848s # Testing script Todr (code 1416586354) 848s # Testing script Gara (code 1197568609) 848s # Testing script Tutg (code 1416983655) 848s # Testing script Sunu (code 1400204917) 848s # Testing script Gukh (code 1198877544) 848s # Testing script Krai (code 1265787241) 848s # Testing script Onao (code 1332633967) 848s ok 21 /unicode/iso15924 848s ok 22 /unicode/lower 848s ok 23 /unicode/mark 848s ok 24 /unicode/mirror 848s ok 25 /unicode/print 848s ok 26 /unicode/punctuation 848s ok 27 /unicode/script 848s ok 28 /unicode/space 848s ok 29 /unicode/strdown 848s ok 30 /unicode/strup 848s ok 31 /unicode/turkish-strupdown 848s ok 32 /unicode/title 848s ok 33 /unicode/upper 848s ok 34 /unicode/validate 848s ok 35 /unicode/wide 848s ok 36 /unicode/xdigit 848s ok 37 /unicode/xdigit-value 848s ok 38 /unicode/zero-width 848s ok 39 /unicode/normalize 848s # End of unicode tests 848s TAP version 14 848s # random seed: R02Sf377ab8b701381c40eca9e6cc1afbc1a 848s 1..31 848s # Start of gobject tests 848s # Start of signals tests 848s ok 1 /gobject/signals/all-types 848s ok 2 /gobject/signals/variant 848s ok 3 /gobject/signals/destroy-target-object 848s ok 4 /gobject/signals/generic-marshaller-1 848s ok 5 /gobject/signals/generic-marshaller-2 848s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 848s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 848s ok 8 /gobject/signals/generic-marshaller-int-return 848s ok 9 /gobject/signals/generic-marshaller-uint-return 848s ok 10 /gobject/signals/generic-marshaller-interface-return 848s ok 11 /gobject/signals/custom-marshaller 848s ok 12 /gobject/signals/connect 848s ok 13 /gobject/signals/emission-hook 848s ok 14 /gobject/signals/emitv 848s ok 15 /gobject/signals/accumulator 848s # Signal: accumulator-class-first 848s # Signal: accumulator-class-last 848s # Signal: accumulator-class-cleanup 848s # Signal: accumulator-class-first-last 848s # Signal: accumulator-class-first-last-cleanup 848s # Signal: accumulator-class-last-cleanup 848s ok 16 /gobject/signals/accumulator-class 848s ok 17 /gobject/signals/introspection 848s ok 18 /gobject/signals/block-handler 848s ok 19 /gobject/signals/stop-emission 848s ok 20 /gobject/signals/invocation-hint 848s ok 21 /gobject/signals/test-disconnection-wrong-object 848s ok 22 /gobject/signals/clear-signal-handler 848s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 848s ok 23 /gobject/signals/lookup 848s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 848s ok 24 /gobject/signals/parse-name 848s ok 25 /gobject/signals/is-valid-name 848s ok 26 /gobject/signals/weak-ref-disconnect 848s # Start of lookup tests 848s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 848s ok 27 /gobject/signals/lookup/invalid 848s # End of lookup tests 848s # Start of parse-name tests 848s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 848s # Parser input: 848s # Parser input: 7zip 848s # Parser input: invalid:signal 848s # Parser input: simple-detailed:: 848s # Parser input: simple-detailed: 848s # Parser input: : 848s # Parser input: :: 848s # Parser input: :valid-detail 848s # Parser input: ::valid-detail 848s ok 28 /gobject/signals/parse-name/invalid 848s # End of parse-name tests 848s # Start of invalid-name tests 848s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 848s ok 29 /gobject/signals/invalid-name/colon 848s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 848s ok 30 /gobject/signals/invalid-name/first-char 848s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 848s ok 31 /gobject/signals/invalid-name/empty 848s # End of invalid-name tests 848s # End of signals tests 848s # End of gobject tests 848s TAP version 14 848s # random seed: R02Sbc1baae0b133ce4520e3f5635a2a9b4b 848s 1..1 848s # Start of portal-support tests 848s # Start of flatpak tests 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/runtime 848s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_A1VKK3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 848s ok 1 /portal-support/flatpak/gsettings 848s # End of flatpak tests 848s # End of portal-support tests 848s TAP version 14 848s # random seed: R02S4f65b2ecd50d09fb5759e5d47d856dba 848s 1..2 848s # Start of unix-fd tests 848s ok 1 /unix-fd/fd-list 848s ok 2 /unix-fd/scm 848s # End of unix-fd tests 848s TAP version 14 848s # random seed: R02Scb732de6993e41e8ffa79c900eb8157c 848s 1..122 848s # Start of date tests 848s ok 1 /date/basic 848s ok 2 /date/empty 848s ok 3 /date/dmy 848s ok 4 /date/julian 848s ok 5 /date/compare 848s ok 6 /date/dates 848s ok 7 /date/strftime 848s ok 8 /date/two-digit-years 848s ok 9 /date/parse 848s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 848s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 848s ok 11 /date/month_substring 848s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 848s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 848s ok 13 /date/clamp 848s ok 14 /date/order 848s ok 15 /date/copy 848s # Vector 0: 0000-00-00, invalid 848s # Vector 1: 0001-01-01, valid 848s # Vector 2: 0000-01-01, invalid 848s # Vector 3: 2000-02-30, invalid 848s # Vector 4: 2000-02-29, valid 848s # Vector 5: 2001-02-29, invalid 848s # Vector 6: 65535-01-01, valid 848s ok 16 /date/valid-dmy 848s # Considering 2000-01-01 848s # Considering 2000-01-07 848s # Considering 2000-01-08 848s # Considering 2001-01-01 848s # Considering 2001-01-07 848s # Considering 2001-01-08 848s # Considering 2002-01-01 848s # Considering 2002-01-07 848s # Considering 2002-01-08 848s # Considering 2003-01-01 848s # Considering 2003-01-07 848s # Considering 2003-01-08 848s # Considering 2004-01-01 848s # Considering 2004-01-07 848s # Considering 2004-01-08 848s # Considering 2006-01-01 848s # Considering 2006-01-07 848s # Considering 2006-01-08 848s # Considering 2010-01-01 848s # Considering 2010-01-07 848s # Considering 2010-01-08 848s ok 17 /date/week-of-year 848s # Start of parse tests 848s # Test 0 848s # Test 1 848s ok 18 /date/parse/invalid 848s # End of parse tests 848s # Start of year tests 848s ok 19 /date/year/1 848s ok 20 /date/year/2 848s ok 21 /date/year/3 848s ok 22 /date/year/4 848s ok 23 /date/year/5 848s ok 24 /date/year/6 848s ok 25 /date/year/7 848s ok 26 /date/year/8 848s ok 27 /date/year/9 848s ok 28 /date/year/10 848s ok 29 /date/year/11 848s ok 30 /date/year/12 848s ok 31 /date/year/13 848s ok 32 /date/year/14 848s ok 33 /date/year/98 848s ok 34 /date/year/99 848s ok 35 /date/year/100 848s ok 36 /date/year/101 848s ok 37 /date/year/102 848s ok 38 /date/year/103 848s ok 39 /date/year/397 848s ok 40 /date/year/398 848s ok 41 /date/year/399 848s ok 42 /date/year/400 848s ok 43 /date/year/401 848s ok 44 /date/year/402 848s ok 45 /date/year/403 848s ok 46 /date/year/404 848s ok 47 /date/year/405 848s ok 48 /date/year/406 848s ok 49 /date/year/1598 848s ok 50 /date/year/1599 848s ok 51 /date/year/1600 848s ok 52 /date/year/1601 848s ok 53 /date/year/1602 848s ok 54 /date/year/1650 848s ok 55 /date/year/1651 848s ok 56 /date/year/1897 848s ok 57 /date/year/1898 848s ok 58 /date/year/1899 848s ok 59 /date/year/1900 848s ok 60 /date/year/1901 848s ok 61 /date/year/1902 848s ok 62 /date/year/1903 848s ok 63 /date/year/1961 848s ok 64 /date/year/1962 848s ok 65 /date/year/1963 848s ok 66 /date/year/1964 848s ok 67 /date/year/1965 848s ok 68 /date/year/1967 848s ok 69 /date/year/1968 848s ok 70 /date/year/1969 848s ok 71 /date/year/1970 848s ok 72 /date/year/1971 848s ok 73 /date/year/1972 848s ok 74 /date/year/1973 848s ok 75 /date/year/1974 848s ok 76 /date/year/1975 848s ok 77 /date/year/1976 848s ok 78 /date/year/1977 848s ok 79 /date/year/1978 848s ok 80 /date/year/1979 848s ok 81 /date/year/1980 848s ok 82 /date/year/1981 848s ok 83 /date/year/1982 848s ok 84 /date/year/1983 848s ok 85 /date/year/1984 848s ok 86 /date/year/1985 848s ok 87 /date/year/1986 848s ok 88 /date/year/1987 848s ok 89 /date/year/1988 848s ok 90 /date/year/1989 848s ok 91 /date/year/1990 848s ok 92 /date/year/1991 848s ok 93 /date/year/1992 848s ok 94 /date/year/1993 848s ok 95 /date/year/1994 848s ok 96 /date/year/1995 848s ok 97 /date/year/1996 848s ok 98 /date/year/1997 848s ok 99 /date/year/1998 848s ok 100 /date/year/1999 848s ok 101 /date/year/2000 848s ok 102 /date/year/2001 848s ok 103 /date/year/2002 848s ok 104 /date/year/2003 848s ok 105 /date/year/2004 848s ok 106 /date/year/2005 848s ok 107 /date/year/2006 848s ok 108 /date/year/2007 848s ok 109 /date/year/2008 848s ok 110 /date/year/2009 848s ok 111 /date/year/2010 848s ok 112 /date/year/2011 848s ok 113 /date/year/2012 848s ok 114 /date/year/3000 848s ok 115 /date/year/3001 848s ok 116 /date/year/3002 848s ok 117 /date/year/3998 848s ok 118 /date/year/3999 848s ok 119 /date/year/4000 848s ok 120 /date/year/4001 848s ok 121 /date/year/4002 848s ok 122 /date/year/4003 848s # End of year tests 848s # End of date tests 848s ok - glib/date.test 848s # Running test: glib/utf8-private.test 848s TAP version 14 848s # random seed: R02S647a397ff775ac9f97219a121d877fba 848s 1..2 848s # Start of utf8 tests 848s ok 1 /utf8/utf8-to-utf16-make-valid 848s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 848s # End of utf8 tests 848s ok - glib/utf8-private.test 848s # Running test: glib/rwlock.test 848s TAP version 14 848s # random seed: R02Sd15e62fae0c7024b7b4470ceae47c6c2 848s 1..8 848s # Start of thread tests 848s ok 1 /thread/rwlock1 848s ok 2 /thread/rwlock2 848s ok 3 /thread/rwlock3 848s ok 4 /thread/rwlock4 848s ok 5 /thread/rwlock5 848s ok 6 /thread/rwlock6 848s # Executing: glib/rwlock.test 853s ok 7 /thread/rwlock7 853s # slow test /thread/rwlock7 executed in 4.90 secs 853s # Executing: glib/rwlock.test 853s ok - glib/rwlock.test 853s # Running test: glib/custom-dispatch.test 853s ok 8 /thread/rwlock8 853s # End of thread tests 853s TAP version 14 853s # random seed: R02Sd4198c56e8384712d3ac8bd9468e7e9f 853s 1..2 853s # Start of properties tests 853s # Start of custom-dispatch tests 853s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 853s ok 1 /properties/custom-dispatch/init 853s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 853s ok - glib/custom-dispatch.test 853s ok 2 /properties/custom-dispatch/set 853s # End of custom-dispatch tests 853s # End of properties tests 853s # Running test: glib/642026-ec.test 853s TAP version 14 853s # random seed: R02S6f441325afbf30062b65b59d58b6c16e 853s 1..1 853s # Start of glib tests 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 853s ok - glib/642026-ec.test 853s # Running test: glib/portal-support-flatpak-network-only.test 853s ok - glib/portal-support-flatpak-network-only.test 853s # Running test: glib/properties-refcount3.test 853s ok 1 /glib/642026 853s # End of glib tests 853s TAP version 14 853s # random seed: R02S8c0da3d9a942b2612fc0a7cde4edbf64 853s 1..1 853s # Start of portal-support tests 853s # Start of flatpak tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/runtime 853s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_1TZ9J3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 853s ok 1 /portal-support/flatpak/network 853s # End of flatpak tests 853s # End of portal-support tests 853s TAP version 14 853s # random seed: R02Se501ad8f542734931e5119c0c1599e07 853s 1..1 853s # Start of gobject tests 853s # Start of refcount tests 858s # Executing: glib/properties-refcount3.test 863s # Executing: glib/properties-refcount3.test 868s # Executing: glib/properties-refcount3.test 873s # Executing: glib/properties-refcount3.test 878s # Executing: glib/properties-refcount3.test 883s # Executing: glib/properties-refcount3.test 883s ok - glib/properties-refcount3.test 883s # 883s # stopping 883s # 883s # stopped 883s # 883s # 13664106 6937023 883s # 883s ok 1 /gobject/refcount/properties-3 883s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 883s # End of refcount tests 883s # End of gobject tests 883s # Running test: glib/gdbus-method-invocation.test 883s TAP version 14 883s # random seed: R02Sf51842b84ae476d9e99461997177f9fe 883s 1..1 883s # Start of gdbus tests 883s # Start of method-invocation tests 883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/home 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/cache 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/system-config2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/config 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/system-data2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/data 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/state 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_ADT9J3/gdbus/method-invocation/return/.dirs/runtime 883s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 883s # Calling org.freedesktop.DBus.Properties.Get 883s # Calling org.freedesktop.DBus.Properties.Get 883s # Calling org.freedesktop.DBus.Properties.Get 883s # Calling org.freedesktop.DBus.Properties.Set 883s # Calling org.freedesktop.DBus.Properties.GetAll 883s # Calling org.example.Foo.WrongReturnType 883s # Calling org.example.Foo.GetFDs 883s # Calling org.example.Foo.GetFDs 883s # Calling org.example.Foo.ReturnError 883s # Calling org.example.Foo.CloseBeforeReturning 883s ok 1 /gdbus/method-invocation/return 883s ok - glib/gdbus-method-invocation.test 883s # SUMMARY: total=332; passed=331; skipped=1; failed=0; user=272.7s; system=70.6s; maxrss=490368 883s # End of method-invocation tests 883s # End of gdbus tests 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 884s autopkgtest [11:29:24]: test installed-tests: -----------------------] 885s autopkgtest [11:29:25]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 885s installed-tests PASS 885s autopkgtest [11:29:25]: test closure-refcount: preparing testbed 885s Reading package lists... 885s Building dependency tree... 885s Reading state information... 885s Solving dependencies... 885s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 886s autopkgtest [11:29:26]: test closure-refcount: [----------------------- 886s Running test: glib/closure-refcount.test 886s TAP version 14 886s # random seed: R02S31dc4bb74daefca966cddce1b343fd26 886s 1..1 886s # Start of closure tests 886s # Init 0x39f37376db0 886s # Yielding from main thread 886s # Yielding from main thread 886s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from thread1 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from thread2 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from thread2 887s # Yielding from main thread 887s # Yielding from thread1 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 887s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from thread1 888s # Yielding from main thread 888s # Yielding from thread2 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from thread2 888s # Yielding from thread1 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 888s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from thread2 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from thread1 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from thread1 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from thread2 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from main thread 889s # Yielding from thread1 889s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from thread2 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from thread1 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from thread2 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from thread1 890s # Yielding from thread2 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 890s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from thread1 891s # Yielding from thread2 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from thread2 891s # Yielding from main thread 891s # Yielding from main thread 891s Executing: glib/closure-refcount.test 891s # Yielding from thread1 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 891s # Yielding from main thread 892s # Yielding from main thread 892s # Yielding from thread2 892s # Yielding from main thread 892s # Yielding from main thread 892s # Yielding from thread1 892s # Yielding from main thread 892s # Stopping 892s # Stopped 892s ok 1 /closure/refcount 892s # slow test /closure/refcount executed in 5.38 secs 892s # End of closure tests 892s PASS: glib/closure-refcount.test 892s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.7s; system=0.0s; maxrss=4096 892s autopkgtest [11:29:32]: test closure-refcount: -----------------------] 893s autopkgtest [11:29:33]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 893s closure-refcount PASS 893s autopkgtest [11:29:33]: test debugcontroller: preparing testbed 893s Reading package lists... 893s Building dependency tree... 893s Reading state information... 893s Solving dependencies... 893s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 894s autopkgtest [11:29:34]: test debugcontroller: [----------------------- 894s Running test: glib/debugcontroller.test 894s TAP version 14 894s # random seed: R02S830135f1e972a86adcc252ed51a98dfc 894s 1..3 894s # Start of debug-controller tests 894s # Start of dbus tests 894s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 894s # GLib-GIO-DEBUG: Debug output enabled 894s # GLib-GIO-DEBUG: Debug output disabled 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s ok 1 /debug-controller/dbus/basic 894s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s ok 2 /debug-controller/dbus/duplicate 894s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 894s # GLib-GIO-DEBUG: Debug output enabled 894s # GLib-GIO-DEBUG: Debug output disabled 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 894s ok 3 /debug-controller/dbus/properties 894s # End of dbus tests 894s # End of debug-controller tests 894s PASS: glib/debugcontroller.test 894s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 895s autopkgtest [11:29:35]: test debugcontroller: -----------------------] 895s autopkgtest [11:29:35]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 895s debugcontroller PASS 895s autopkgtest [11:29:35]: test gdbus-server-auth: preparing testbed 896s Reading package lists... 896s Building dependency tree... 896s Reading state information... 896s Solving dependencies... 896s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 897s autopkgtest [11:29:37]: test gdbus-server-auth: [----------------------- 897s Running test: glib/gdbus-server-auth.test 897s TAP version 14 897s # random seed: R02S51580f342613cb6ce012c1a0c27f343f 897s 1..9 897s # Start of gdbus tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/.dirs/runtime 897s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-QTPJK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 897s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-QTPJK3/dbus-A0wdptpi 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39074 897s ok 1 /gdbus/server-auth 897s # Start of server-auth tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/abstract/.dirs/runtime 897s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-B3ZJK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 897s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-B3ZJK3/dbus-IeX47MNJ 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39074 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 897s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39074 897s ok 2 /gdbus/server-auth/abstract 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/tcp/.dirs/runtime 897s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 897s # Connectable address: tcp:host=127.0.0.1,port=34669 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 897s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 897s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 897s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 897s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 897s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 897s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 898s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 898s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 898s ok 3 /gdbus/server-auth/tcp 898s # slow test /gdbus/server-auth/tcp executed in 0.94 secs 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/.dirs/runtime 898s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-SIYIK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 898s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-SIYIK3/dbus-6oEUYjC4 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39074 898s ok 4 /gdbus/server-auth/anonymous 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/.dirs/runtime 898s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-SDBJK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 898s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-SDBJK3/dbus-4LJisktp 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 898s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39074 898s ok 5 /gdbus/server-auth/external 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/.dirs/runtime 898s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-R8UJK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 898s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-R8UJK3/dbus-jHA71fTy 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39074 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 898s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39074 898s ok 6 /gdbus/server-auth/sha1 898s # Start of anonymous tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 898s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 898s # Connectable address: tcp:host=127.0.0.1,port=33043 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 898s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 898s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 898s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 899s ok 7 /gdbus/server-auth/anonymous/tcp 899s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.89 secs 899s # End of anonymous tests 899s # Start of external tests 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 899s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-YULLK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 899s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7BQJK3/gdbus-server-auth-YULLK3/dbus-YlkBNqWh 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39074 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 899s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39074,uid=1000,gid=1000 899s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39074 899s ok 8 /gdbus/server-auth/external/require-same-user 899s # End of external tests 899s # Start of sha1 tests 899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/home 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/cache 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/config 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/data 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/state 899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7BQJK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 899s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 899s # Connectable address: tcp:host=127.0.0.1,port=36847 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 899s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 899s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 899s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 899s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 900s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 900s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 900s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 900s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 900s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 900s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 900s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 900s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 900s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 900s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 900s ok 9 /gdbus/server-auth/sha1/tcp 900s # slow test /gdbus/server-auth/sha1/tcp executed in 0.94 secs 900s # End of sha1 tests 900s # End of server-auth tests 900s # End of gdbus tests 900s PASS: glib/gdbus-server-auth.test 900s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 900s autopkgtest [11:29:40]: test gdbus-server-auth: -----------------------] 901s autopkgtest [11:29:41]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 901s gdbus-server-auth PASS 901s autopkgtest [11:29:41]: test gdbus-threading: preparing testbed 901s Reading package lists... 901s Building dependency tree... 901s Reading state information... 901s Solving dependencies... 901s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 902s autopkgtest [11:29:42]: test gdbus-threading: [----------------------- 902s Running test: glib/gdbus-threading.test 902s TAP version 14 902s # random seed: R02S969da91155dfefaf105a0ad408b9b3cf 902s 1..3 902s # Start of gdbus tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_LSA8J3/gdbus/delivery-in-thread/.dirs/runtime 902s ok 1 /gdbus/delivery-in-thread 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_LSA8J3/gdbus/method-calls-in-thread/.dirs/runtime 903s ok 2 /gdbus/method-calls-in-thread 903s # slow test /gdbus/method-calls-in-thread executed in 1.04 secs 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_LSA8J3/gdbus/threaded-singleton/.dirs/runtime 905s # GLib-GIO-DEBUG: refcount of 0x6126c4005860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 905s # GLib-GIO-DEBUG: refcount of 0x6126c4005860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 906s # GLib-GIO-DEBUG: refcount of 0x6126c4005860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 906s # GLib-GIO-DEBUG: refcount of 0x6126c4002480 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 906s # GLib-GIO-DEBUG: refcount of 0x6126c4005860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 907s # GLib-GIO-DEBUG: refcount of 0x6126c4001d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 907s ok 3 /gdbus/threaded-singleton 907s # slow test /gdbus/threaded-singleton executed in 3.79 secs 907s # End of gdbus tests 907s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 907s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 907s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 907s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 907s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 907s PASS: glib/gdbus-threading.test 907s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.2s; maxrss=8192 908s autopkgtest [11:29:48]: test gdbus-threading: -----------------------] 908s autopkgtest [11:29:48]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 908s gdbus-threading PASS 908s autopkgtest [11:29:48]: test gmenumodel: preparing testbed 908s Reading package lists... 909s Building dependency tree... 909s Reading state information... 909s Solving dependencies... 909s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 910s autopkgtest [11:29:50]: test gmenumodel: [----------------------- 910s Running test: glib/gmenumodel.test 910s TAP version 14 910s # random seed: R02S15afb8380bbef9642a23e6d76ed1d9cc 910s 1..15 910s # Start of gmenu tests 911s ok 1 /gmenu/equality 911s # slow test /gmenu/equality executed in 1.40 secs 913s ok 2 /gmenu/random 913s # slow test /gmenu/random executed in 1.97 secs 913s ok 3 /gmenu/attributes 913s ok 4 /gmenu/links 913s ok 5 /gmenu/mutable 913s ok 6 /gmenu/convenience 913s ok 7 /gmenu/menuitem 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 913s ok 8 /gmenu/input-validation 913s # Start of dbus tests 914s ok 9 /gmenu/dbus/roundtrip 914s # slow test /gmenu/dbus/roundtrip executed in 1.16 secs 915s ok 10 /gmenu/dbus/subscriptions 915s Executing: glib/gmenumodel.test 916s ok 11 /gmenu/dbus/threaded 916s # slow test /gmenu/dbus/threaded executed in 1.29 secs 916s # Start of peer tests 917s ok 12 /gmenu/dbus/peer/roundtrip 917s # slow test /gmenu/dbus/peer/roundtrip executed in 1.10 secs 918s ok 13 /gmenu/dbus/peer/subscriptions 918s # End of peer tests 918s # Start of export tests 918s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 918s ok 14 /gmenu/dbus/export/error-handling 918s # End of export tests 918s # End of dbus tests 918s # Start of attributes tests 918s ok 15 /gmenu/attributes/iterate 918s # End of attributes tests 918s # End of gmenu tests 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s PASS: glib/gmenumodel.test 918s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.7s; system=0.2s; maxrss=32768 918s autopkgtest [11:29:58]: test gmenumodel: -----------------------] 918s gmenumodel PASS 918s autopkgtest [11:29:58]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 919s autopkgtest [11:29:59]: test mainloop: preparing testbed 919s Reading package lists... 919s Building dependency tree... 919s Reading state information... 919s Solving dependencies... 919s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 920s autopkgtest [11:30:00]: test mainloop: [----------------------- 920s Running test: glib/mainloop.test 920s TAP version 14 920s # random seed: R02S5bd41a61b56d655dd90d90f04045d6f3 920s 1..47 920s # Start of maincontext tests 920s ok 1 /maincontext/basic 920s # Add same-priority sources: 38 920s # Find each source: 19 920s # Remove in random order: 54 920s ok 2 /maincontext/nsources_same_priority 920s # Add different-priority sources: 45 921s # Find each source: 19 921s # Remove in random order: 58 921s ok 3 /maincontext/nsources_different_priority 921s # Add sources from threads: 129 921s # Remove sources from threads: 213 921s ok 4 /maincontext/nsources_threadpool 921s ok 5 /maincontext/source_finalization 921s # /maincontext/idle-once summary: Test g_idle_add_once() works 921s ok 6 /maincontext/idle-once 921s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 921s ok 7 /maincontext/timeout-once 921s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 921s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 921s # Start of source_finalization_from_source tests 921s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 9 /maincontext/source_finalization_from_source/0 921s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 10 /maincontext/source_finalization_from_source/1 921s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 11 /maincontext/source_finalization_from_source/2 921s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 12 /maincontext/source_finalization_from_source/3 921s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 13 /maincontext/source_finalization_from_source/4 921s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 14 /maincontext/source_finalization_from_source/5 921s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 15 /maincontext/source_finalization_from_source/6 921s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 16 /maincontext/source_finalization_from_source/7 921s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 17 /maincontext/source_finalization_from_source/8 921s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 921s ok 18 /maincontext/source_finalization_from_source/9 921s # End of source_finalization_from_source tests 921s # Start of source_finalization_from_dispatch tests 921s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 921s ok 19 /maincontext/source_finalization_from_dispatch/0 921s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 921s ok 20 /maincontext/source_finalization_from_dispatch/1 921s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 921s ok 21 /maincontext/source_finalization_from_dispatch/2 921s # End of source_finalization_from_dispatch tests 921s # End of maincontext tests 921s # Start of mainloop tests 921s ok 22 /mainloop/basic 921s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 921s ok 24 /mainloop/priorities 922s ok 25 /mainloop/invoke 922s # slow test /mainloop/invoke executed in 0.50 secs 923s ok 26 /mainloop/child_sources 923s # slow test /mainloop/child_sources executed in 1.17 secs 925s ok 27 /mainloop/recursive_child_sources 925s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 925s ok 28 /mainloop/recursive_loop_child_sources 925s ok 29 /mainloop/swapping_child_sources 925s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 925s ok 30 /mainloop/blocked_child_sources 925s Executing: glib/mainloop.test 926s ok 31 /mainloop/source_time 926s # slow test /mainloop/source_time executed in 1.00 secs 926s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 926s ok 32 /mainloop/overflow 926s ok 33 /mainloop/ready-time 926s # slow test /mainloop/ready-time executed in 0.51 secs 926s ok 34 /mainloop/wakeup 926s ok 35 /mainloop/remove-invalid 926s ok 36 /mainloop/unref-while-pending 928s ok 37 /mainloop/unix-fd 928s # slow test /mainloop/unix-fd executed in 1.46 secs 928s ok 38 /mainloop/unix-fd-source 928s ok 39 /mainloop/source-unix-fd-api 928s ok 40 /mainloop/wait 928s ok 41 /mainloop/unix-file-poll 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 928s ok 42 /mainloop/unix-fd-priority 928s ok 43 /mainloop/nfds 928s ok 44 /mainloop/steal-fd 930s ok 45 /mainloop/simultaneous-source-context-destruction 930s # slow test /mainloop/simultaneous-source-context-destruction executed in 2.02 secs 930s # Start of ownerless-polling tests 930s ok 46 /mainloop/ownerless-polling/attach-first 930s ok 47 /mainloop/ownerless-polling/pop-first 930s # End of ownerless-polling tests 930s # End of mainloop tests 930s PASS: glib/mainloop.test 930s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.5s; system=3.1s; maxrss=30720 931s autopkgtest [11:30:11]: test mainloop: -----------------------] 931s mainloop PASS 931s autopkgtest [11:30:11]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 931s autopkgtest [11:30:11]: test memory-monitor-dbus: preparing testbed 932s Reading package lists... 932s Building dependency tree... 932s Reading state information... 932s Solving dependencies... 932s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 933s autopkgtest [11:30:13]: test memory-monitor-dbus: [----------------------- 933s Running test: glib/memory-monitor-dbus.test 933s TAP version 13 933s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 933s # Received memory warning signal, level 0 933s # Received memory warning signal, level 100 933s # Received memory warning signal, level 255 933s 1..1 933s PASS: glib/memory-monitor-dbus.test 933s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=38976 933s autopkgtest [11:30:13]: test memory-monitor-dbus: -----------------------] 934s memory-monitor-dbus PASS 934s autopkgtest [11:30:14]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 934s autopkgtest [11:30:14]: test socket: preparing testbed 934s Reading package lists... 935s Building dependency tree... 935s Reading state information... 935s Solving dependencies... 935s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 936s autopkgtest [11:30:16]: test socket: [----------------------- 936s Running test: glib/socket.test 936s TAP version 14 936s # random seed: R02S6cc9375654374f0bba7df11438e42fa8 936s 1..30 936s # Start of socket tests 937s ok 1 /socket/ipv4_sync 937s # slow test /socket/ipv4_sync executed in 1.01 secs 938s ok 2 /socket/ipv4_async 938s # slow test /socket/ipv4_async executed in 1.01 secs 938s ok 3 /socket/ipv6_sync 938s ok 4 /socket/ipv6_async 938s ok 5 /socket/ipv6_v4mapped 939s ok 6 /socket/close_graceful 939s # slow test /socket/close_graceful executed in 1.00 secs 939s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 939s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 939s ok 8 /socket/fd_reuse 939s ok 9 /socket/address 939s ok 10 /socket/unix-from-fd 939s ok 11 /socket/unix-connection 939s ok 12 /socket/unix-connection-ancillary-data 939s ok 13 /socket/source-postmortem 939s ok 14 /socket/read_write 939s ok 15 /socket/read_writev 939s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 939s ok 16 /socket/receive_bytes 939s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 939s ok 17 /socket/receive_bytes_from 939s # Start of ipv4_sync tests 939s ok 18 /socket/ipv4_sync/datagram 939s # Start of datagram tests 940s ok 19 /socket/ipv4_sync/datagram/timeouts 940s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 940s # End of datagram tests 940s # End of ipv4_sync tests 940s # Start of ipv6_sync tests 940s ok 20 /socket/ipv6_sync/datagram 940s # Start of datagram tests 941s ok 21 /socket/ipv6_sync/datagram/timeouts 941s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 941s # End of datagram tests 941s # End of ipv6_sync tests 941s # Start of reuse tests 941s ok 22 /socket/reuse/tcp 941s ok 23 /socket/reuse/udp 941s # End of reuse tests 941s # Start of get_available tests 941s ok 24 /socket/get_available/datagram 941s ok 25 /socket/get_available/stream 941s # End of get_available tests 941s # Start of credentials tests 941s # Supported on this OS: GCredentials:linux-ucred:pid=0 941s ok 26 /socket/credentials/tcp_client 941s # Supported on this OS: GCredentials:linux-ucred:pid=0 941s ok 27 /socket/credentials/tcp_server 941s # Supported on this OS: GCredentials:linux-ucred:pid=65074,uid=1000,gid=1000 941s ok 28 /socket/credentials/unix_socketpair 941s # End of credentials tests 941s # Start of accept tests 941s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 941s ok 29 /socket/accept/cancelled 941s # End of accept tests 941s # Start of connect tests 941s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 941s ok 30 /socket/connect/cancelled 941s # End of connect tests 941s # End of socket tests 941s PASS: glib/socket.test 941s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 941s autopkgtest [11:30:21]: test socket: -----------------------] 942s autopkgtest [11:30:22]: test socket: - - - - - - - - - - results - - - - - - - - - - 942s socket PASS 942s autopkgtest [11:30:22]: test testfilemonitor: preparing testbed 942s Reading package lists... 942s Building dependency tree... 942s Reading state information... 942s Solving dependencies... 943s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 943s autopkgtest [11:30:23]: test testfilemonitor: [----------------------- 943s Running test: glib/testfilemonitor.test 943s TAP version 14 943s # random seed: R02Sfb57e17c54d03817e157e6a68fbc9152 943s 1..8 943s # Start of monitor tests 943s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 943s # Using temporary directory: /tmp/gio-test-testfilemonitor_TKI5J3 943s # Using GFileMonitor GInotifyFileMonitor 945s ok 1 /monitor/atomic-replace 945s # slow test /monitor/atomic-replace executed in 2.00 secs 945s # Using temporary directory: /tmp/gio-test-testfilemonitor_U384J3 945s # Using GFileMonitor GInotifyFileMonitor 948s ok 2 /monitor/file-changes 948s # slow test /monitor/file-changes executed in 2.50 secs 948s # Using temporary directory: /tmp/gio-test-testfilemonitor_11EGK3 948s # Using GFileMonitor GInotifyFileMonitor 949s Executing: glib/testfilemonitor.test 951s ok 3 /monitor/dir-monitor 951s # slow test /monitor/dir-monitor executed in 3.51 secs 951s # Using temporary directory: /tmp/gio-test-testfilemonitor_CFT5J3 951s # Using GFileMonitor GInotifyFileMonitor 954s Executing: glib/testfilemonitor.test 959s Executing: glib/testfilemonitor.test 964s Executing: glib/testfilemonitor.test 969s Executing: glib/testfilemonitor.test 974s Executing: glib/testfilemonitor.test 977s ok 4 /monitor/dir-not-existent 977s # slow test /monitor/dir-not-existent executed in 25.03 secs 977s # Using temporary directory: /tmp/gio-test-testfilemonitor_7G05J3 977s # Using GFileMonitor 0 GInotifyFileMonitor 977s # Using GFileMonitor 1 GInotifyFileMonitor 979s ok 5 /monitor/cross-dir-moves 979s # slow test /monitor/cross-dir-moves executed in 2.00 secs 979s # Using temporary directory: /tmp/gio-test-testfilemonitor_ERM3J3 979s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 979s ok 6 /monitor/finalize-in-callback 979s # Using temporary directory: /tmp/gio-test-testfilemonitor_KWP3J3 979s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 979s ok 7 /monitor/root 979s # Start of file tests 979s # Using temporary directory: /tmp/gio-test-testfilemonitor_GXQ3J3 979s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 979s # Running with hard link tests 979s # Using GFileMonitor GInotifyFileMonitor 979s Executing: glib/testfilemonitor.test 982s # Event 0 at expected index 7 skipped because it is marked as optional 982s # Event 2 at expected index 11 skipped because it is marked as optional 982s ok 8 /monitor/file/hard-links 982s # slow test /monitor/file/hard-links executed in 3.51 secs 982s # End of file tests 982s # End of monitor tests 982s PASS: glib/testfilemonitor.test 982s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 982s autopkgtest [11:31:02]: test testfilemonitor: -----------------------] 983s autopkgtest [11:31:03]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 983s testfilemonitor PASS 983s autopkgtest [11:31:03]: test thread-pool-slow: preparing testbed 983s Reading package lists... 983s Building dependency tree... 983s Reading state information... 984s Solving dependencies... 984s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 984s autopkgtest [11:31:04]: test thread-pool-slow: [----------------------- 985s Running test: glib/thread-pool-slow.test 985s TAP version 14 985s # random seed: R02S9dea7172163948b7bdcc5b4063e2cf3c 985s 1..7 985s # Start of threadpool tests 985s ok 1 /threadpool/functions 985s ok 2 /threadpool/stop-unused 985s # slow test /threadpool/stop-unused executed in 0.55 secs 985s ok 3 /threadpool/pools 985s # [unsorted] ===> pushed new thread with id:23, number of threads:1, unprocessed:0 985s # [unsorted] ===> pushed new thread with id:82, number of threads:2, unprocessed:0 985s # [unsorted] ===> pushed new thread with id:12, number of threads:3, unprocessed:0 985s # [unsorted] ===> pushed new thread with id:75, number of threads:4, unprocessed:1 985s # [unsorted] ===> pushed new thread with id:64, number of threads:5, unprocessed:2 985s # [unsorted] ===> pushed new thread with id:47, number of threads:6, unprocessed:3 985s # [unsorted] ===> pushed new thread with id:90, number of threads:7, unprocessed:4 985s # [unsorted] ===> pushed new thread with id:100, number of threads:8, unprocessed:5 985s # [unsorted] ===> pushed new thread with id:57, number of threads:9, unprocessed:5 985s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:6 985s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:7 985s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:8 985s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:9 985s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:10 985s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:11 985s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:12 985s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:13 985s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:14 985s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:15 985s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:16 985s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:17 985s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:18 985s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:19 985s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:20 985s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:21 985s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:22 985s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:23 985s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:24 985s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:25 985s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:26 985s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:27 985s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:28 985s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:29 985s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:30 985s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:31 985s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:32 985s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:33 985s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:34 985s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:35 985s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:36 985s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:37 985s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:38 985s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:39 985s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:40 985s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:41 985s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:42 985s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:43 985s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:44 985s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:45 985s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:46 985s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:47 985s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:48 985s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:49 985s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:50 985s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:51 985s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:52 985s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:53 985s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:54 985s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:55 985s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:56 985s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:57 985s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:58 985s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:59 985s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:60 985s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:61 985s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:62 985s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:63 985s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:64 985s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:65 985s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:66 985s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:67 985s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:68 985s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:69 985s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:70 985s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:71 985s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:72 985s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:73 985s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:74 985s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:75 985s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:76 985s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:77 985s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:78 985s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:79 985s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:80 985s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:81 985s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:82 985s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:83 985s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:84 985s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:85 985s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:86 985s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:87 985s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:88 985s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:89 985s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:90 985s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:91 985s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:92 985s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:93 985s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:94 985s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:95 985s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:96 985s ok 4 /threadpool/no-sort 985s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:1 985s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:2 985s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:3 985s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:4 985s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:5 985s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:6 985s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:7 985s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:8 985s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:9 985s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:10 985s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:11 985s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:12 985s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:13 985s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:14 985s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:15 985s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:16 985s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:17 985s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:18 985s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:19 985s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:20 985s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:21 985s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:22 985s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:23 985s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:24 985s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:25 985s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:26 985s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:27 985s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:28 985s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:29 985s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:30 985s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:31 985s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:32 985s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:33 985s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:34 985s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:35 985s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:36 985s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:37 985s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:38 985s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:39 985s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:40 985s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:41 985s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:42 985s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:43 985s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:44 985s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:45 985s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:46 985s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:47 985s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:48 985s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:49 985s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:50 985s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:51 985s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:52 985s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:53 985s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:54 985s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:55 985s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:56 985s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:57 985s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:58 985s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:59 985s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:60 985s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:61 985s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:62 985s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:63 985s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:64 985s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:65 985s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:66 985s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:67 985s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:68 985s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:69 985s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:70 985s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:71 985s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:72 985s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:73 985s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:74 985s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:75 985s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:76 985s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:77 985s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:78 985s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:79 985s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:80 985s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:81 985s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:82 985s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:83 985s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:84 985s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:85 985s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:86 985s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:87 985s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:88 985s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:89 985s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:90 985s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:91 985s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:92 985s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:93 985s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:94 985s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:95 985s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:96 985s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:97 985s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:98 985s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:99 985s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:100 985s # Starting thread pool processing 985s ok 5 /threadpool/sort 986s ok 6 /threadpool/stop-unused-multiple 986s # slow test /threadpool/stop-unused-multiple executed in 0.62 secs 986s # Pool idle thread count: 0, unprocessed jobs: 48 986s # Pool idle thread count: 0, unprocessed jobs: 0 986s # Pool idle thread count: 0, unprocessed jobs: 0 987s # Pool idle thread count: 10, unprocessed jobs: 0 987s # Pool idle thread count: 10, unprocessed jobs: 0 987s # Pool idle thread count: 10, unprocessed jobs: 0 987s # Pool idle thread count: 10, unprocessed jobs: 0 988s # Pool idle thread count: 10, unprocessed jobs: 0 988s # Pool idle thread count: 10, unprocessed jobs: 0 988s # Pool idle thread count: 10, unprocessed jobs: 0 988s # Pool idle thread count: 10, unprocessed jobs: 0 989s # Pool idle thread count: 10, unprocessed jobs: 0 989s # Pool idle thread count: 10, unprocessed jobs: 0 989s # Pool idle thread count: 10, unprocessed jobs: 0 989s # Pool idle thread count: 10, unprocessed jobs: 0 990s # Pool idle thread count: 10, unprocessed jobs: 0 990s # Pool idle thread count: 10, unprocessed jobs: 0 990s Executing: glib/thread-pool-slow.test 990s # Pool idle thread count: 10, unprocessed jobs: 0 990s # Pool idle thread count: 10, unprocessed jobs: 0 991s # Pool idle thread count: 10, unprocessed jobs: 0 991s # Pool idle thread count: 10, unprocessed jobs: 0 991s # Pool idle thread count: 10, unprocessed jobs: 0 991s # Pool idle thread count: 10, unprocessed jobs: 0 992s # Pool idle thread count: 10, unprocessed jobs: 0 992s # Pool idle thread count: 10, unprocessed jobs: 0 992s # Pool idle thread count: 10, unprocessed jobs: 0 992s # Pool idle thread count: 10, unprocessed jobs: 0 993s # Pool idle thread count: 10, unprocessed jobs: 0 993s # Pool idle thread count: 10, unprocessed jobs: 0 993s # Pool idle thread count: 10, unprocessed jobs: 0 993s # Pool idle thread count: 10, unprocessed jobs: 0 994s # Pool idle thread count: 10, unprocessed jobs: 0 994s # Pool idle thread count: 10, unprocessed jobs: 0 994s # Pool idle thread count: 10, unprocessed jobs: 0 994s # Pool idle thread count: 10, unprocessed jobs: 0 995s # Pool idle thread count: 10, unprocessed jobs: 2 995s # Pool idle thread count: 9, unprocessed jobs: 1 995s # Pool idle thread count: 8, unprocessed jobs: 0 995s # Pool idle thread count: 8, unprocessed jobs: 0 995s Executing: glib/thread-pool-slow.test 995s # Pool idle thread count: 10, unprocessed jobs: 0 995s # Pool idle thread count: 10, unprocessed jobs: 0 996s # Pool idle thread count: 10, unprocessed jobs: 0 996s # Pool idle thread count: 10, unprocessed jobs: 0 996s # Pool idle thread count: 10, unprocessed jobs: 0 996s # Pool idle thread count: 10, unprocessed jobs: 0 997s # Pool idle thread count: 2, unprocessed jobs: 0 997s # Pool idle thread count: 2, unprocessed jobs: 0 997s # Pool idle thread count: 2, unprocessed jobs: 0 997s # Pool idle thread count: 2, unprocessed jobs: 0 998s # Pool idle thread count: 2, unprocessed jobs: 0 998s # Pool idle thread count: 2, unprocessed jobs: 0 998s # Pool idle thread count: 2, unprocessed jobs: 0 998s # Pool idle thread count: 2, unprocessed jobs: 0 999s # Pool idle thread count: 2, unprocessed jobs: 0 999s # Pool idle thread count: 2, unprocessed jobs: 0 999s # Pool idle thread count: 2, unprocessed jobs: 0 999s # Pool idle thread count: 2, unprocessed jobs: 0 1000s # Pool idle thread count: 2, unprocessed jobs: 0 1000s # Pool idle thread count: 2, unprocessed jobs: 0 1000s Executing: glib/thread-pool-slow.test 1000s # Pool idle thread count: 2, unprocessed jobs: 0 1000s # Pool idle thread count: 2, unprocessed jobs: 0 1001s # Pool idle thread count: 2, unprocessed jobs: 0 1001s # Pool idle thread count: 2, unprocessed jobs: 0 1001s # Pool idle thread count: 2, unprocessed jobs: 0 1001s # Pool idle thread count: 2, unprocessed jobs: 0 1002s # Pool idle thread count: 2, unprocessed jobs: 0 1002s # Pool idle thread count: 2, unprocessed jobs: 0 1002s # Pool idle thread count: 2, unprocessed jobs: 0 1002s # Pool idle thread count: 2, unprocessed jobs: 0 1003s # Pool idle thread count: 2, unprocessed jobs: 0 1003s # Pool idle thread count: 2, unprocessed jobs: 0 1003s # Pool idle thread count: 2, unprocessed jobs: 0 1003s # Pool idle thread count: 2, unprocessed jobs: 0 1004s # Pool idle thread count: 2, unprocessed jobs: 0 1004s # Pool idle thread count: 2, unprocessed jobs: 0 1004s # Pool idle thread count: 2, unprocessed jobs: 0 1004s # Pool idle thread count: 2, unprocessed jobs: 0 1005s # Pool idle thread count: 2, unprocessed jobs: 0 1005s # Pool idle thread count: 2, unprocessed jobs: 0 1005s Executing: glib/thread-pool-slow.test 1005s ok 7 /threadpool/idle-time 1005s # slow test /threadpool/idle-time executed in 19.55 secs 1005s # End of threadpool tests 1005s PASS: glib/thread-pool-slow.test 1005s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=10240 1006s autopkgtest [11:31:26]: test thread-pool-slow: -----------------------] 1006s autopkgtest [11:31:26]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1006s thread-pool-slow PASS 1006s autopkgtest [11:31:26]: test threadtests: preparing testbed 1007s Reading package lists... 1007s Building dependency tree... 1007s Reading state information... 1007s Solving dependencies... 1007s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1008s autopkgtest [11:31:28]: test threadtests: [----------------------- 1008s Running test: glib/threadtests.test 1008s TAP version 14 1008s # random seed: R02Sa819d3cc3e201a8b8c6ee4ed51d6202c 1008s 1..5 1008s # Start of GObject tests 1008s ok 1 /GObject/threaded-object-init 1011s ok 2 /GObject/threaded-weak-ref 1011s # slow test /GObject/threaded-weak-ref executed in 2.51 secs 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1011s # /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 1011s ok 3 /GObject/threaded-toggle-notify 1011s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1011s # Start of threaded-weak-ref tests 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1011s # /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. 1011s ok 5 /GObject/threaded-weak-ref/on-finalization 1011s # End of threaded-weak-ref tests 1011s # End of GObject tests 1011s PASS: glib/threadtests.test 1011s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=0.8s; maxrss=4096 1011s autopkgtest [11:31:31]: test threadtests: -----------------------] 1012s autopkgtest [11:31:32]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1012s threadtests PASS 1012s autopkgtest [11:31:32]: test timeout: preparing testbed 1012s Reading package lists... 1012s Building dependency tree... 1012s Reading state information... 1012s Solving dependencies... 1012s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1013s autopkgtest [11:31:33]: test timeout: [----------------------- 1013s Running test: glib/timeout.test 1013s TAP version 14 1013s # random seed: R02Scf1133702037e4d17e2dc1544400145b 1013s 1..5 1013s # Start of timeout tests 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1016s ok 1 /timeout/seconds 1016s # slow test /timeout/seconds executed in 2.10 secs 1018s ok 2 /timeout/seconds-once 1018s # slow test /timeout/seconds-once executed in 2.10 secs 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1018s Executing: glib/timeout.test 1020s ok 3 /timeout/weeks-overflow 1020s # slow test /timeout/weeks-overflow executed in 2.10 secs 1020s ok 4 /timeout/far-future-ready-time 1023s Executing: glib/timeout.test 1028s Executing: glib/timeout.test 1030s ok 5 /timeout/rounding 1030s # slow test /timeout/rounding executed in 10.56 secs 1030s # End of timeout tests 1030s PASS: glib/timeout.test 1030s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1031s autopkgtest [11:31:51]: test timeout: -----------------------] 1031s autopkgtest [11:31:51]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1031s timeout PASS 1031s autopkgtest [11:31:51]: test timer: preparing testbed 1032s Reading package lists... 1032s Building dependency tree... 1032s Reading state information... 1032s Solving dependencies... 1032s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1033s autopkgtest [11:31:53]: test timer: [----------------------- 1033s Running test: glib/timer.test 1033s TAP version 14 1033s # random seed: R02S41081a4a30f2b00f306b0e7ef1ed8905 1033s 1..10 1033s # Start of timer tests 1033s ok 1 /timer/basic 1033s ok 2 /timer/stop 1033s ok 3 /timer/continue 1033s ok 4 /timer/reset 1033s ok 5 /timer/is_active 1033s # End of timer tests 1033s # Start of timeval tests 1033s ok 6 /timeval/add 1033s ok 7 /timeval/from-iso8601 1033s ok 8 /timeval/to-iso8601 1033s # Start of to-iso8601 tests 1033s ok 9 /timeval/to-iso8601/overflow 1033s # End of to-iso8601 tests 1033s # End of timeval tests 1033s # Start of usleep tests 1033s ok 10 /usleep/with-zero-wait 1033s # End of usleep tests 1033s PASS: glib/timer.test 1033s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1033s autopkgtest [11:31:53]: test timer: -----------------------] 1034s timer PASS 1034s autopkgtest [11:31:54]: test timer: - - - - - - - - - - results - - - - - - - - - - 1034s autopkgtest [11:31:54]: test 1065022-futureproofing: preparing testbed 1052s Creating nova instance adt-resolute-ppc64el-glib2.0-20260207-111440-juju-7f2275-prod-proposed-migration-environment-2-4870f492-f651-482f-97ed-043fddeeb5d7 from image adt/ubuntu-resolute-ppc64el-server-20260207.img (UUID 1767429f-3c45-4a46-b104-1747753d8dc7)... 1101s autopkgtest [11:33:01]: testbed dpkg architecture: ppc64el 1101s autopkgtest [11:33:01]: testbed apt version: 3.1.15 1102s autopkgtest [11:33:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1102s autopkgtest [11:33:02]: testbed release detected to be: resolute 1102s autopkgtest [11:33:02]: updating testbed package index (apt update) 1103s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1103s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1103s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1103s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1103s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.1 kB] 1103s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [196 kB] 1103s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1606 kB] 1103s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB] 1103s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [236 kB] 1103s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1471 kB] 1103s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.5 kB] 1104s Fetched 3700 kB in 1s (3929 kB/s) 1104s Reading package lists... 1105s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1105s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1105s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1105s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1106s Reading package lists... 1106s Reading package lists... 1106s Building dependency tree... 1106s Reading state information... 1106s Calculating upgrade... 1106s The following packages will be upgraded: 1106s 3cpio libevent-core-2.1-7t64 libpcap0.8t64 1106s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1106s Need to get 598 kB of archives. 1106s After this operation, 0 B of additional disk space will be used. 1106s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcap0.8t64 ppc64el 1.10.5-2ubuntu3 [181 kB] 1106s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el 3cpio ppc64el 0.14.0-1ubuntu1 [308 kB] 1106s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libevent-core-2.1-7t64 ppc64el 2.1.12-stable-10build2 [109 kB] 1107s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1107s Fetched 598 kB in 0s (17.2 MB/s) 1107s (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 ... 82008 files and directories currently installed.) 1107s Preparing to unpack .../libpcap0.8t64_1.10.5-2ubuntu3_ppc64el.deb ... 1107s Unpacking libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) over (1.10.5-2ubuntu2) ... 1108s Preparing to unpack .../3cpio_0.14.0-1ubuntu1_ppc64el.deb ... 1108s Unpacking 3cpio (0.14.0-1ubuntu1) over (0.13.1-1ubuntu1) ... 1108s Preparing to unpack .../libevent-core-2.1-7t64_2.1.12-stable-10build2_ppc64el.deb ... 1108s Unpacking libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) over (2.1.12-stable-10build1) ... 1109s Setting up 3cpio (0.14.0-1ubuntu1) ... 1109s Setting up libpcap0.8t64:ppc64el (1.10.5-2ubuntu3) ... 1109s Setting up libevent-core-2.1-7t64:ppc64el (2.1.12-stable-10build2) ... 1109s Processing triggers for man-db (2.13.1-1) ... 1111s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1111s autopkgtest [11:33:11]: upgrading testbed (apt dist-upgrade and autopurge) 1111s Reading package lists... 1111s Building dependency tree... 1111s Reading state information... 1112s Calculating upgrade... 1112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1112s Reading package lists... 1112s Building dependency tree... 1112s Reading state information... 1112s Solving dependencies... 1112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1115s Reading package lists... 1116s Building dependency tree... 1116s Reading state information... 1116s Solving dependencies... 1116s The following NEW packages will be installed: 1116s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1116s libdconf1 1116s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1116s Need to get 155 kB of archives. 1116s After this operation, 833 kB of additional disk space will be used. 1116s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdconf1 ppc64el 0.49.0-4 [45.7 kB] 1116s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-service ppc64el 0.49.0-4 [31.6 kB] 1116s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-gsettings-backend ppc64el 0.49.0-4 [27.3 kB] 1116s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el dpkg-repack all 1.54build1 [11.2 kB] 1116s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1116s Fetched 155 kB in 0s (7293 kB/s) 1116s Selecting previously unselected package libdconf1:ppc64el. 1116s (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 ... 82008 files and directories currently installed.) 1116s Preparing to unpack .../libdconf1_0.49.0-4_ppc64el.deb ... 1116s Unpacking libdconf1:ppc64el (0.49.0-4) ... 1116s Selecting previously unselected package dconf-service. 1116s Preparing to unpack .../dconf-service_0.49.0-4_ppc64el.deb ... 1116s Unpacking dconf-service (0.49.0-4) ... 1116s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1116s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_ppc64el.deb ... 1116s Unpacking dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1116s Selecting previously unselected package dpkg-repack. 1116s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1116s Unpacking dpkg-repack (1.54build1) ... 1116s Selecting previously unselected package gsettings-desktop-schemas. 1116s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1116s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1116s Setting up dpkg-repack (1.54build1) ... 1116s Setting up libdconf1:ppc64el (0.49.0-4) ... 1116s Setting up dconf-service (0.49.0-4) ... 1116s Setting up dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1116s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1116s Processing triggers for man-db (2.13.1-1) ... 1116s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 1116s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1121s autopkgtest [11:33:21]: test 1065022-futureproofing: [----------------------- 1121s + export DEBIAN_FRONTEND=noninteractive 1121s + n=0 1121s + failed=0 1121s + binary_package=libglib2.0-0t64 1121s + future_binary_package=libglib2.0-0xyz 1121s + pwd 1121s + srcdir=/tmp/autopkgtest.fHKCBC/build.TUW/src 1121s + mktemp -d 1121s + tmpdir=/tmp/tmp.6ujsXsmWXD 1121s + cd /tmp/tmp.6ujsXsmWXD 1121s + exec 1121s + [ -e /tmp/autopkgtest.fHKCBC/build.TUW/src/debian/tests/manual/local-1065022.sources ] 1121s + dpkg-query -W dpkg-repack 1121s dpkg-repack 1.54build1 1121s + dpkg-query -s libglib2.0-0t64 1121s Package: libglib2.0-0t64 1121s Status: install ok installed 1121s Priority: important 1121s Section: libs 1121s Installed-Size: 6018 1121s Maintainer: Ubuntu Developers 1121s Architecture: ppc64el 1121s Multi-Arch: same 1121s Source: glib2.0 1121s Version: 2.86.3-4 1121s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1121s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4) 1121s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1121s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1121s Suggests: low-memory-monitor 1121s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1121s Description: GLib library of C routines 1121s GLib is a library containing many useful C routines for things such 1121s as trees, hashes, lists, and strings. It is a useful general-purpose 1121s C library used by projects such as GTK+, GIMP, and GNOME. 1121s . 1121s This package contains the shared libraries. 1121s Original-Maintainer: Debian GNOME Maintainers 1121s Homepage: https://gitlab.gnome.org/GNOME/glib 1121s + dpkg-query -W -f ${Version} libglib2.0-0t64 1121s + binary_version=2.86.3-4 1121s + dpkg-repack --generate libglib2.0-0t64 1122s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1122s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.pMHZw7 for libglib2.0-0t64 1122s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.pMHZw7 ." 1122s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.pMHZw7/DEBIAN/control 1122s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.pMHZw7/DEBIAN/control 1122s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.pMHZw7/DEBIAN/control 1122s + env binary_package=libglib2.0-0t64 binary_version=2.86.3-4 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.pMHZw7/DEBIAN/control 1122s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.pMHZw7 libglib2.0-0xyz.deb 1122s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1123s + dpkg-deb --info libglib2.0-0xyz.deb 1123s new Debian package, version 2.0. 1123s size 1849146 bytes: control archive=25743 bytes. 1123s 1220 bytes, 24 lines control 1123s 1184 bytes, 14 lines md5sums 1123s 1328 bytes, 44 lines * postinst #!/bin/sh 1123s 2582 bytes, 87 lines * postrm #!/bin/sh 1123s 2408 bytes, 53 lines * preinst #!/bin/sh 1123s 466 bytes, 10 lines shlibs 1123s 172677 bytes, 4529 lines symbols 1123s 176 bytes, 4 lines triggers 1123s Package: libglib2.0-0xyz 1123s Source: glib2.0 1123s Version: 2.86.3-4 1123s Architecture: ppc64el 1123s Maintainer: Ubuntu Developers 1123s Installed-Size: 6018 1123s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1123s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1123s Suggests: low-memory-monitor 1123s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1123s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1123s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4), libglib2.0-0t64 (= 2.86.3-4) 1123s Section: libs 1123s Priority: important 1123s Multi-Arch: same 1123s Homepage: https://gitlab.gnome.org/GNOME/glib 1123s Description: GLib library of C routines 1123s GLib is a library containing many useful C routines for things such 1123s as trees, hashes, lists, and strings. It is a useful general-purpose 1123s C library used by projects such as GTK+, GIMP, and GNOME. 1123s . 1123s This package contains the shared libraries. 1123s . 1123s (Repackaged on Sat, 07 Feb 2026 11:33:21 +0000 by dpkg-repack.) 1123s + dpkg-deb --contents libglib2.0-0xyz.deb 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/lib/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/lib/powerpc64le-linux-gnu/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/lib/powerpc64le-linux-gnu/gio/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/lib/powerpc64le-linux-gnu/gio/modules/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/ 1123s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-launch-desktop 1123s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-querymodules 1123s -rwxr-xr-x root/root 67872 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/glib-compile-schemas 1123s -rw-r--r-- root/root 2756184 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.8600.3 1123s -rw-r--r-- root/root 1904216 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.8600.3 1123s -rw-r--r-- root/root 67640 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.8600.3 1123s -rw-r--r-- root/root 592184 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.8600.3 1123s -rw-r--r-- root/root 67600 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0.8600.3 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/share/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/share/doc/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/share/doc/libglib2.0-0t64/ 1123s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1123s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian 1123s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md 1123s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1123s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/share/glib-2.0/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/share/glib-2.0/schemas/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/share/lintian/ 1123s drwxr-xr-x root/root 0 2026-02-07 11:33 ./usr/share/lintian/overrides/ 1123s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64 1123s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3 1123s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3 1123s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3 1123s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3 1123s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3 1123s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1123s Reading package lists... 1123s Building dependency tree... 1123s Reading state information... 1123s dconf-gsettings-backend is already the newest version (0.49.0-4). 1123s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1123s Solving dependencies... 1124s The following additional packages will be installed: 1124s xdg-user-dirs 1124s Suggested packages: 1124s low-memory-monitor 1124s The following packages will be REMOVED: 1124s libglib2.0-0t64 1124s The following NEW packages will be installed: 1124s libglib2.0-0xyz xdg-user-dirs 1124s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1124s Need to get 20.9 kB/1870 kB of archives. 1124s After this operation, 213 kB of additional disk space will be used. 1124s Get:1 /tmp/tmp.6ujsXsmWXD/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.86.3-4 [1849 kB] 1124s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el xdg-user-dirs ppc64el 0.19-1 [20.9 kB] 1124s Fetched 20.9 kB in 0s (623 kB/s) 1124s dpkg: libglib2.0-0t64:ppc64el: dependency problems, but removing anyway as you requested: 1124s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1124s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1124s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1124s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1124s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1124s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1124s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1124s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0). 1124s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0). 1124s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1124s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1124s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1124s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1124s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1124s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1124s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0). 1124s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1124s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1124s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1124s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1124s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1124s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4). 1124s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1124s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1124s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1124s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1124s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1124s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1124s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1124s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1124s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1124s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1125s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1125s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1125s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4). 1125s fwupd depends on libglib2.0-0t64 (>= 2.80.0). 1125s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1125s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1125s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1125s 1125s (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 ... 82075 files and directories currently installed.) 1125s Removing libglib2.0-0t64:ppc64el (2.86.3-4) ... 1125s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1125s (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 ... 82056 files and directories currently installed.) 1125s Preparing to unpack .../libglib2.0-0xyz.deb ... 1125s Unpacking libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1125s Selecting previously unselected package xdg-user-dirs. 1125s Preparing to unpack .../xdg-user-dirs_0.19-1_ppc64el.deb ... 1125s Unpacking xdg-user-dirs (0.19-1) ... 1126s Setting up xdg-user-dirs (0.19-1) ... 1126s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1126s Setting up libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1127s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1127s Processing triggers for man-db (2.13.1-1) ... 1128s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1128s + n=1 1128s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1128s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1128s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1128s + n=2 1128s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1128s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1128s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1128s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1128s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s + n=3 1128s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s + echo ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s + n=4 1128s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s + echo ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s + n=5 1128s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s + echo ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s + n=6 1128s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s + echo ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s + apt-get -y purge libglib2.0-0t64 1128s ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1128s ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1128s Reading package lists... 1128s Building dependency tree... 1128s Reading state information... 1128s Solving dependencies... 1128s The following packages will be REMOVED: 1128s libglib2.0-0t64* 1129s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1129s After this operation, 0 B of additional disk space will be used. 1129s (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 ... 82090 files and directories currently installed.) 1129s Purging configuration files for libglib2.0-0t64:ppc64el (2.86.3-4) ... 1129s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1129s + n=7 1129s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1129s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1129s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1129s + n=8 1129s + testok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1129s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1129s ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s -s /usr/share/glib-2.0/schemas/gschemas.compiled 1129s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1129s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s + n=9 1129s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s + echo ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s + n=10 1129s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s + echo ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1129s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s + n=11 1129s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s + echo ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s + n=12 1129s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s + echo ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1129s + apt-get -y purge libglib2.0-0xyz 1129s Reading package lists... 1129s Building dependency tree... 1129s Reading state information... 1129s Solving dependencies... 1129s The following additional packages will be installed: 1129s libglib2.0-0t64 1129s Suggested packages: 1129s low-memory-monitor 1130s The following packages will be REMOVED: 1130s libglib2.0-0xyz* 1130s The following NEW packages will be installed: 1130s libglib2.0-0t64 1130s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1130s Need to get 1849 kB of archives. 1130s After this operation, 0 B of additional disk space will be used. 1130s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-0t64 ppc64el 2.86.3-4 [1849 kB] 1130s Fetched 1849 kB in 0s (6425 kB/s) 1131s dpkg: libglib2.0-0xyz:ppc64el: dependency problems, but removing anyway as you requested: 1131s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s fwupd depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1131s Package libglib2.0-0t64 is not installed. 1131s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1131s 1131s (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 ... 82090 files and directories currently installed.) 1131s Removing libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1131s Selecting previously unselected package libglib2.0-0t64:ppc64el. 1131s (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 ... 82071 files and directories currently installed.) 1131s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_ppc64el.deb ... 1131s Unpacking libglib2.0-0t64:ppc64el (2.86.3-4) ... 1131s Setting up libglib2.0-0t64:ppc64el (2.86.3-4) ... 1132s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1132s (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 ... 82090 files and directories currently installed.) 1132s Purging configuration files for libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1132s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1132s + n=13 1132s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1132s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1132s + failed=1 1132s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1132s + n=14 1132s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1132s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1132s + failed=1 1132s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1132s + n=15 1132s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1132s + echo not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1132s + failed=1 1132s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1132s + n=16 1132s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1132s + echo not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1132s + failed=1 1132s + echo 1..16 1132s + exit 1 1132s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1132s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1132s not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1132s not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1132s 1..16 1133s autopkgtest [11:33:33]: test 1065022-futureproofing: -----------------------] 1133s autopkgtest [11:33:33]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1133s 1065022-futureproofing FLAKY non-zero exit status 1 1134s autopkgtest [11:33:34]: @@@@@@@@@@@@@@@@@@@@ summary 1134s build PASS (superficial) 1134s build-static PASS (superficial) 1134s girepository-tools PASS (superficial) 1134s libgio-2.0-dev-bin PASS (superficial) 1134s libglib2.0-dev PASS (superficial) 1134s installed-tests PASS 1134s closure-refcount PASS 1134s debugcontroller PASS 1134s gdbus-server-auth PASS 1134s gdbus-threading PASS 1134s gmenumodel PASS 1134s mainloop PASS 1134s memory-monitor-dbus PASS 1134s socket PASS 1134s testfilemonitor PASS 1134s thread-pool-slow PASS 1134s threadtests PASS 1134s timeout PASS 1134s timer PASS 1134s 1065022-futureproofing FLAKY non-zero exit status 1